PHP CURL help needed

General discussions related to php

Moderators: macek, egami, gesf

Post Reply
php-forum Super User
php-forum Super User
Posts: 1805
Joined: Thu Mar 10, 2011 5:07 pm

Re: PHP CURL help needed

Post by johnj » Thu Nov 08, 2012 8:12 am

You can try this:
$data = array('updatecart' => '35b35rt45', 'http_referer' => '/cart/update-cart.php');
curl_setopt($ch, CURLOPT_POST, 2);
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);

Post Reply

Who is online

Users browsing this forum: Baidu [Spider] and 2 guests