note 85968 added to function.curl-setopt
| From: | adamplumb at gmail dot com | Date: | Fri, 26 Sep 2008 13:10:43 +0000 |
| Subject: | note 85968 added to function.curl-setopt | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-144743@lists.php.net to get a copy of this message | ||
In response to rkirilow's post, where he said to set the option CURLOPT_FILE, that should
really be CURLOPT_COOKIEFILE. I was bitten by this issue myself with code that previously worked
for logging into a website and posting a form. However, at some point the code just stopped
working, and I eventually found that I needed to set this option to /dev/null for it to work.
----
Server IP: 208.69.120.35
Probable Submitter: 96.240.200.214
----
Manual Page -- http://www.php.net/manual/en/function.curl-setopt.php
Edit -- https://master.php.net/note/edit/85968
Del: integrated -- https://master.php.net/note/delete/85968/integrated
Del: useless -- https://master.php.net/note/delete/85968/useless
Del: bad code -- https://master.php.net/note/delete/85968/bad+code
Del: spam -- https://master.php.net/note/delete/85968/spam
Del: non-english -- https://master.php.net/note/delete/85968/non-english
Del: in docs -- https://master.php.net/note/delete/85968/in+docs
Del: other reasons-- https://master.php.net/note/delete/85968
Reject -- https://master.php.net/note/reject/85968
Search -- https://master.php.net/manage/user-notes.php