yahoo invisible checker

Discussion in 'Programming' started by daviddalian, Oct 25, 2008.

  1. #1
    i like to create a yahoo invisible checker with php or asp
    but i dont know how can do it
    can everybody know that how can find that a yahoo id is invisible ?
     
    daviddalian, Oct 25, 2008 IP
  2. ToddMicheau

    ToddMicheau Active Member

    Messages:
    183
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    58
    #2
    This is incredibly simple. Two seconds and I will code you a php script that does this.
     
    ToddMicheau, Oct 25, 2008 IP
  3. ToddMicheau

    ToddMicheau Active Member

    Messages:
    183
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    58
    #3
    Erm. . . Well I meant to test my code before I posted it, but my site seems to be down. Again. :mad:

    So here is some untested code that should work fine. Below is the function you will need:

    
    function checkYahooUser($userName){
    	$data = file_get_contents("http://mail.opi.yahoo.com/online?u=" . $userName . "&m=a&t=1");
    	$data = split("\r\n\r\n", $data);
    	if($data[1] == "00"){
    		return false;
    	}else if($data[1] == "01"){
    		return true;
    	}
    }
    
    PHP:
    And here is a simple test script that you can use to test out the function:

    
    <?
    function checkYahooUser($userName){
    	$data = file_get_contents("http://mail.opi.yahoo.com/online?u=" . $userName . "&m=a&t=1");
    	$data = split("\r\n\r\n", $data);
    	if($data[1] == "00"){
    		return false;
    	}else if($data[1] == "01"){
    		return true;
    	}
    }
    
    if(empty($_GET['username'])){
    	echo '<center><form name="input" action="" method="get">Username to Check: <input type="text" name="username"><input type="submit" value="Submit"></form></center>';
    }else{
    	$username = urlencode($_GET['username']);
    	if(checkYahooUser($username)){
    		echo 'User is online!';
    	}else{
    		echo 'User is offline or invisible to everyone.';
    	}
    }
    ?>
    
    PHP:
    Enjoy, let me know if there are any errors, and what line they might be on.
     
    ToddMicheau, Oct 25, 2008 IP
  4. daviddalian

    daviddalian Well-Known Member

    Messages:
    311
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    103
    #4
    Thanks Man ;)

    but i like to determine a user is offline or invisible ?
    this code show a user online or (offline or invisible ) but i like to show a user is Online Or Offline Or Invisible
    you can try this site for better means
     
    daviddalian, Oct 25, 2008 IP
  5. ToddMicheau

    ToddMicheau Active Member

    Messages:
    183
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    58
    #5
    ToddMicheau, Oct 26, 2008 IP
  6. daviddalian

    daviddalian Well-Known Member

    Messages:
    311
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    103
    #6
    thanks man

    i can make a yahoo invisible scanner in this address
     
    daviddalian, Nov 26, 2008 IP
  7. Paollo

    Paollo Peon

    Messages:
    64
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Is there the working script? because it gives me server busy..
     
    Paollo, Aug 5, 2009 IP
  8. bugzy

    bugzy Banned

    Messages:
    190
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #8
    I used to visit website where you can check if someone is invisible, offline or online and wonder how the hell can a program do that. Php is too damn powerful these days. I hope I know how to use php also :(
     
    bugzy, Aug 5, 2009 IP