Results 1 to 3 of 3

Thread: [php] Checking if Hotmail Exists

Threaded View

  1. #1
    Zachafer's Avatar
    Joined
    Dec 2011
    Posts
    1,235
    Userbars
    11
    Thanks
    769
    Thanked
    1,466/678
    DL/UL
    98/0
    Mentioned
    512 times
    Time Online
    24d 13h 9m
    Avg. Time Online
    8m

    [php] Checking if Hotmail Exists

    PHP Code:
    function hotmailExists($email)
    {
        
    $ch curl_init();
        
        
    curl_setopt($chCURLOPT_URL"https://accountservices.passport.net/pp1300/memberexists.srf");
        
    curl_setopt($chCURLOPT_SSL_VERIFYPEERfalse);
        
    curl_setopt($chCURLOPT_RETURNTRANSFERtrue);
        
    curl_setopt($chCURLOPT_HEADERtrue);
        
    curl_setopt($chCURLOPT_COOKIE"MSPMemberExists=$email");
        
        
    $response curl_exec($ch);
        
    curl_close($ch); 
        
        return 
    stripos($response"MSPMemberExists=MemberExists") !== false;


  2. The Following 2 Users Say Thank You to Zachafer For This Useful Post:

    Jesusinn (06-28-2012),Ryan~ (04-07-2012)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •