What in the world am I doing wrong? I practically copied all of the code from this page http://www.experts-exchange.com/Web/Web_Languages/PHP/Q_20712796.html and made the necessary changes (eg. full path, referer, etc..) I even added http headers:
$header[] = "Accept: text/vnd.wap.wml,.";
No Luck! Still getting an error. Your browser must accept cookies. :mad:
I have not much experience with http or headers, etc and have only been doing PHP for a few months now. I Love PHP but I have no books on any of the rest of it. This is my weakest area and I am crying out for some help.
In this command:
// Now set up the path and filename that wil bee the cookie
curl_setopt($ch, CURLOPT_COOKIEJAR, "/home/sites/dev/cookies/cookie.txt");
Are cookies supposed to appear in this folder somewhere? Becuase they're not. If this sounds like a stupid question I apologize. I don't know cookies and I can HONESTLY say I don't like them either.
I don't know why anyone uses them 😕
Any further direction would be greatly appreciated as my monitor is in serious danger right now.
Thanks 🙁