Advertisement
crayawn

CURL Send and Forget

May 3rd, 2013
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.28 KB | None | 0 0
  1. $url = "http://respawnapi.com/send.php?key=YOURKEYHERE&host=".$ip."&port=".$port."&time=".$time."&method=".$method;
  2. $ch=curl_init();
  3. curl_setopt($ch, CURLOPT_URL, $url);
  4. curl_setopt($ch, CURLOPT_HEADER, 0);
  5. curl_setopt($ch,CURLOPT_TIMEOUT, 5);
  6. curl_exec($ch);
  7. curl_close($ch);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement