seandy
09-19-2008, 03:30 AM
Hello all,
I'm using php cURL to login another website.
It seems cURL can't make/use COOKIES.
Here's some codes :
curl_setopt($ch,CURLOPT_COOKIESESSION,true);
curl_setopt($ch, CURLOPT_COOKIEJAR, "cookie.txt");
curl_setopt($ch, CURLOPT_COOKIEFILE, "cookie.txt");
Please give me a solution for this.
FYI : i've triend on another hosting, it works perfectly.
Thank you
best regards
andy :D
I'm using php cURL to login another website.
It seems cURL can't make/use COOKIES.
Here's some codes :
curl_setopt($ch,CURLOPT_COOKIESESSION,true);
curl_setopt($ch, CURLOPT_COOKIEJAR, "cookie.txt");
curl_setopt($ch, CURLOPT_COOKIEFILE, "cookie.txt");
Please give me a solution for this.
FYI : i've triend on another hosting, it works perfectly.
Thank you
best regards
andy :D