My understanding is that cookies from curl
must be written out to a file (curl -c cookie_file
). If you're running curl
through PHP's exec
or system
functions (or anything in that family), you should be able to save the cookies to a file, then open the file and read them in.