Jump to content
php.lv forumi

curl cookie


kapec gan ne

Recommended Posts


$file = '0.txt';
$ch = curl_init();
curl_setopt ($ch, CURLOPT_COOKIEJAR, $file);
curl_setopt ($ch, CURLOPT_COOKIEFILE, $file);
curl_setopt ($ch, CURLOPT_ENCODING, 'gzip');
curl_setopt ($ch, CURLOPT_URL, $url);
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec ($ch);
curl_close($ch);
..

vispar tada problema, ka curl neko taja faila neieraksta :{ ieraksta vienkasi atmina vai kur citur un viss

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...