Im using cURL to log into a website and then store a session cookie.
Is there a way I can access that session cookie from another PHP script (in the same dir etc.) Ive tried:
$ch = curl_init();
curl_setopt ($ch, CURLOPT_COOKIEJAR, 'cookie.txt');
curl_setopt($ch, CURLOPT_URL, $url);
echo $content = curl_exec ($ch);
curl_close ($ch);
But that doesnt seem to work