I want to store the headers for CURLOPT_COOKIEFILE in a database instead of
a file.
Is there any way I can pass the headers as a string instead of a
"file-pointer"?
I want:
$stringWithHeaders = databaseResult...
curl_setopt($ch, CURLOPT_COOKIEFILE, $stringWithHeaders)
Instead of:
curl_setopt($ch, CURLOPT_COOKIEFILE, "cookieHeaders.txt");
Also, what does CURLOPT_COOKIEFILE do? There is no mension of in the
manual...
Any thoughts?
// Tobias