Advertisement
AlexM1SHOP

Untitled

Feb 8th, 2019
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.91 KB | None | 0 0
  1. <? $url = 'http://m1-shop.ru/send_order/'; $data = [ 'ref' => , 'api_key' => '', 'product_id' => , 'phone' => $_REQUEST['phone'], 'name' => $_REQUEST['name'], 'ip' => $_SERVER['REMOTE_ADDR'], 's' => $_GET['s'], 'w' => $_GET['w'], 't' => $_GET['t'], 'p' => $_GET['p'], 'm' => $_GET['m'] ]; $process = curl_init(); curl_setopt($process, CURLOPT_HEADER, 0); curl_setopt($process, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; Media Center PC 4.0)"); curl_setopt($process, CURLOPT_RETURNTRANSFER, 1); curl_setopt($process, CURLOPT_FOLLOWLOCATION, 0); curl_setopt($process, CURLOPT_TIMEOUT, 20); curl_setopt($process, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($process, CURLOPT_POST, true); curl_setopt($process, CURLOPT_POSTFIELDS, $data); curl_setopt($process, CURLOPT_URL, $url); $return = curl_exec($process); curl_close($process); header('Location: success.htm');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement