Results 1 to 1 of 1
Thread: Curl "remembering cookies"?
Mar 16, 2006, 00:29 #1
- Join Date
- Jan 2006
- Oregon, U.S.
- 0 Post(s)
- 0 Thread(s)
Curl "remembering cookies"?
I've got a quick question about curl that l was hoping someone would be able to help me out with.
I was reading over at http://curl.haxx.se and found this article:
In which the following is said:
> curl_close ($ch);
> $ch = curl_init();
If you don't close and re-init, you may not even have to save the cookies to a file, and just let curl keep them in memory.
Now l'm pretty new to curl, and was wondering how l is it possible to "let curl" keep cookies in memory without creating or writing to a file (ie COOKIEJAR)?
If someone could post an example script for me to review and work off of l would greatly appreciate it