Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $curl=curl_init();
- curl_setopt($curl,CURLOPT_RETURNTRANSFER,1);
- curl_setopt($curl,CURLOPT_URL,"$url/clientarea.php?action=masspay&invoiceids[]=1&invoiceids[]=2");
- curl_setopt($curl,CURLOPT_USERAGENT,'Mozilla/5.0 (Windows NT 5.1; rv:18.0) Gecko/20100101 Firefox/18.0');
- curl_setopt($curl,CURLOPT_FOLLOWLOCATION,1);
- curl_setopt($curl, CURLOPT_POST, TRUE);
- curl_setopt($curl, CURLOPT_POSTFIELDS, $request);
- curl_setopt($curl, CURLOPT_COOKIEFILE, "$cookie");
- curl_setopt($curl,CURLOPT_TIMEOUT,5);
- $getdata1=curl_exec($curl);
Advertisement
Add Comment
Please, Sign In to add comment