note 96485 added to book.curl
| From: | kalyan at kalyanchakravarthy dot net | Date: | Mon, 01 Mar 2010 15:32:34 +0000 |
| Subject: | note 96485 added to book.curl | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-166473@lists.php.net to get a copy of this message | ||
When using curl with cookies, Relative path doesn't seem to work.
Use absolute path for setting the variables CURLOPT_COOKIEFILE & CURLOPT_COOKIEJAR.
To make life easier use the realpath("file.txt") function to get the absolute path.
----
Server IP: 69.147.83.197
Probable Submitter: 115.184.83.39
----
Manual Page -- http://www.php.net/manual/en/book.curl.php
Edit -- https://master.php.net/note/edit/96485
Del: integrated -- https://master.php.net/note/delete/96485/integrated
Del: useless -- https://master.php.net/note/delete/96485/useless
Del: bad code -- https://master.php.net/note/delete/96485/bad+code
Del: spam -- https://master.php.net/note/delete/96485/spam
Del: non-english -- https://master.php.net/note/delete/96485/non-english
Del: in docs -- https://master.php.net/note/delete/96485/in+docs
Del: other reasons-- https://master.php.net/note/delete/96485
Reject -- https://master.php.net/note/reject/96485
Search -- https://master.php.net/manage/user-notes.php