Advertisement
Slapoguzov

Untitled

Aug 4th, 2015
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.11 KB | None | 0 0
  1. <?php $___notjson=1;
  2. if( $curl = curl_init() ) {
  3.                 echo "post send...<br>FID:".$_GET['fid']."<br>TID:".$_GET['tid']."<br>SSID:".$_GET['ssid'];
  4.                
  5.                 $params = array (
  6.                     'p' => '0',
  7.                     'a' => '7',
  8.                     'jkd428' => '1',
  9.                     'jkd498' => '1',
  10.                     'fcounter' => '39000',
  11.                     'message' =>  'XXUP',
  12.                     'ahtml' => 'off',
  13.                     'frmt' => 'off',
  14.                     'add_wmark' => 'off',
  15.                     'smiles_on' => '0',
  16.                     'signature_on' => '0',
  17.                     'subscribe' => '0',
  18.                     'fid' => $_GET['fid'],
  19.                     'tid' => $_GET['tid'],
  20.                     'ssid' => $_GET['ssid']
  21.                 );
  22.                 curl_setopt($curl, CURLOPT_URL, "http://wowjp.net/forum/");              
  23.                 curl_setopt($curl, CURLOPT_USERAGENT, "Bot System");
  24.                   curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
  25.                   curl_setopt($curl, CURLOPT_HEADER, true);          
  26.                   curl_setopt($curl, CURLOPT_FOLLOWLOCATION, 1);                 
  27.                     curl_setopt($curl, CURLOPT_POST, 1);
  28.                     curl_setopt($curl, CURLOPT_POSTFIELDS, http_build_query($params));     
  29.                     $res=curl_exec($curl);
  30.                     echo $res;
  31.                                    
  32.                     curl_close($curl);
  33.                
  34. }
  35. else
  36. {
  37.     echo "Error";
  38. }
  39. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement