Im really new to the php curl concept, can anybody show me a simple example of how to set a cookie in the browser using php curl
this is my code tha
Php Curl allows you to directly set the cookie Header, using:
curl_setopt($curlHandle,CURLOPT_COOKIE, $cookieString);
Where $cookieString holds semicolon separated key=value pairs of cookie data.
Please refer to this question: PHP Curl and setcookie problem
And be sure to thoroughly go through http://php.net/manual/en/function.curl-setopt.php