Hi-
having some difficulty in a code with a GET variable.
I tried to put the variable in the url and now trying to post it as a get variable seperatly.
$cUrl = curl_init();
curl_setopt($cUrl, CURLOPT_URL, 'http://site.com/c.php');
curl_setopt($cUrl, CURLOPT_GET,1);
curl_setopt($cUrl, CURLOPT_POSTFIELDS, 'id=100494&');
curl_setopt($cUrl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($cUrl, CURLOPT_TIMEOUT, '3');
curl_setopt($cUrl, CURLOPT_PROXY, $buffer);
$pageContent = trim(curl_exec($cUrl));
curl_close($cUrl);
print "$pageContent";
Also using a proxy...
I changed id=100494& with id=100494 bıut didnt seem to have any effect either.
My output is "1"
Thanks!