andripzf

Untitled

Jan 12th, 2014
338
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. $curl=curl_init();
  2. curl_setopt($curl,CURLOPT_RETURNTRANSFER,1);
  3. curl_setopt($curl,CURLOPT_URL,"$url/clientarea.php?action=masspay&invoiceids[]=1&invoiceids[]=2");
  4. curl_setopt($curl,CURLOPT_USERAGENT,'Mozilla/5.0 (Windows NT 5.1; rv:18.0) Gecko/20100101 Firefox/18.0');
  5. curl_setopt($curl,CURLOPT_FOLLOWLOCATION,1);
  6. curl_setopt($curl, CURLOPT_POST, TRUE);
  7. curl_setopt($curl, CURLOPT_POSTFIELDS, $request);
  8. curl_setopt($curl, CURLOPT_COOKIEFILE, "$cookie");
  9. curl_setopt($curl,CURLOPT_TIMEOUT,5);
  10. $getdata1=curl_exec($curl);
Advertisement
Add Comment
Please, Sign In to add comment