|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2014-02-07 17:20 UTC] foxer2010 at hotmail dot com
[2014-02-07 17:21 UTC] foxer2010 at hotmail dot com
-Status: Open
+Status: Closed
[2014-02-07 17:21 UTC] foxer2010 at hotmail dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Dec 14 13:00:01 2025 UTC |
Description: ------------ PHP: 5.5.6 CURLOPT_COOKIEFILE &CURLOPT_COOKIEJAR not work on windows 8.1 ×64 build 9200 i use xampp 1.8.3 how i can fix it ??? Test script: --------------- $curl = curl_init(); curl_setopt($curl, CURLOPT_HEADER, TRUE); curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); curl_setopt($curl, CURLOPT_HTTPHEADER, array("User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:18.0) Gecko/20100101 Firefox/18.0", "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", "Accept-Language: ar,en-us;q=0.7,en;q=0.3")); curl_setopt($curl, CURLOPT_COOKIEFILE, "cookiefile"); curl_setopt($curl, CURLOPT_COOKIEJAR, "cookiefile"); # SAME cookiefile curl_setopt($curl, CURLOPT_URL, "http://www.php.net"); $xxx = curl_exec($curl); curl_close ($curl); echo $xxx; Expected result: ---------------- work perfect without make cookie file to use