curl-library
Re: login works on all sites but oneş
Date: Tue, 22 Jul 2008 11:42:20 -0700
On Sun, Jul 20, 2008 at 03:32:26PM -0400, Blue Hawk wrote:
> hey guys. Very weird behavior
> I can log in to all sites except for one.
>
> i thought maybe my post fields was wrong or missing something. I recreated it
> in an html file and tried to login, it worked perfectly. I also changed the
> form to GET and copied the data after ? and it was exactly what i had in my
> form data.
> Last time this was a problem (on another site), it was because i didnt have a
> USERAGENT. i thought maybe CURLOPT_AUTOREFERER was required but that didnt
> help. Does anyone have any ideas what it could be? This is my login function
>
> I check cookie.htm to see if my username is on the page (which lets me know if
> i logged in correctly)
You might need to obtain a cookie from elsewhere on the site first. You
also might need a Referer: header on the POST, or possibly CURLOPT_POST301.
>>> Dan
-- http://www.MoveAnnouncer.com The web change of address service Let webmasters know that your web site has movedReceived on 2008-07-22