Page is a not externally linkable
- Code, Content, and Presentation
-- PHP Server Side Scripting
---- Can't get the .ASPXAUTH cookie value for login with PHP cURL


wildbest - 7:49 am on Jan 12, 2011 (gmt 0)


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.


Thread source:: http://www.webmasterworld.com/php/4236872.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com