curl-and-php
Re: curl, asp.net and login forms
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 9 Jun 2006 11:08:27 +0200 (CEST)
Date: Fri, 9 Jun 2006 11:08:27 +0200 (CEST)
On Fri, 9 Jun 2006, Daniel Vrabioiu wrote:
> Ok, what do you mean by plain normal POST?
>
> $postData = "username=someuser&password=somepass&submit=Sign in"
Yes, but with the data correctly URL encoded of course.
> I tried this way too and it doesnt work either.. same results.. any other
> suggestion?
Yes, compare libcurl's request with the LiveHTTPHeaders output and adjust
accordingly.
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.html _______________________________________________ http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-phpReceived on 2006-06-09