ankhmor Posted November 2, 2008 Share Posted November 2, 2008 I have a login curl script When I try to use it the website tells me You have Per-Session Cookies disabled. However I have this in my code curl_setopt($init, CURLOPT_COOKIEJAR, "cookie.txt"); curl_setopt($init, CURLOPT_COOKIEFILE, "cookie.txt"); Can you tell me what's the problem Thank you. Quote Link to comment https://forums.phpfreaks.com/topic/131116-per-session-cookies-and-curl/ Share on other sites More sharing options...
JonnoTheDev Posted November 3, 2008 Share Posted November 3, 2008 Supply a proper path to your cookie file where there are sufficient permission to create it. i.e. /tmp/cookie.txt (linux) Quote Link to comment https://forums.phpfreaks.com/topic/131116-per-session-cookies-and-curl/#findComment-681112 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.