MySQL_Narb Posted September 30, 2012 Share Posted September 30, 2012 I have a curl session that requires cookies when visiting a certain site. curl_setopt($ch, CURLOPT_COOKIEFILE, 'lol.txt'); I do have the file in netscape format, and it does have the right cookie data. Yet, it still says I'm not logged in while I attempt to execute the curl session. Any ideas? Quote Link to comment https://forums.phpfreaks.com/topic/268922-doesnt-load-cookies/ Share on other sites More sharing options...
ManiacDan Posted September 30, 2012 Share Posted September 30, 2012 The session cookie is generally not stored by the system on the drive, it's stored in RAM. You need all cookies. Snoopy is a PHP class which masquerades as a browser, that might be easier for you. Quote Link to comment https://forums.phpfreaks.com/topic/268922-doesnt-load-cookies/#findComment-1381824 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.