Hi,

I have a cookie issue. On localhost i have a cookie file "cookie.txt" (located ir root dir) which works fine. However, on remote server the app seems not to find the file. Is there a server config option that prevents my app from seeing that cookie file?

Thanks

Perhaps this could be a file permissions problem. Could you please post your code.

This is the line that uses the file.

curl_setopt($ch, CURLOPT_COOKIEJAR, "/c.txt");

Permissions seems not to be helping. I set to 777 and still not found.

where about's is the file located in relation to the php script. Could you post here the path to the c.txt file and the path to the script which is running. Then I can provide some parameters for the file_get_contents() function. By paths I mean like when your browsing ftp.