- Code, Content, and Presentation
-- PHP Server Side Scripting
---- Can't get the .ASPXAUTH cookie value for login with PHP cURL
- 7:49 am on Jan 12, 2011
In otherwords I changed this line:
curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/4.0 (Windows; MSIE 6.0; U; Windows NT 5.1)");
Obviously, this user agent string is blacklisted by the website you're trying to access. I'm glad it's okay now.
Brought to you by