curl-and-php
RE: Login to Hotmail
Date: Tue, 7 Jun 2005 22:32:57 -0400 (EDT)
** [cURL] does not redirects accordingly due to javascript form submission. **
If JavaScript being used (I don't know that myself, I'm just going by your statement), no it won't. cURL doesn't do JavaScript.
You'd have to programmatically parse the page, derive the redirect URL and the post/get variables from the code on the page and then execute a second page fetch using the URL (and other form information) which was on the first page.
cURL will not help with any of that (other than fetching the pages themselves) I'm afraid. You'll have to supply the information (URL and form field values) for cURL to use.
Dan O.
--- On Sat 06/04, < curl-and-php-request_at_cool.haxx.se > wrote:
From: [mailto: curl-and-php-request_at_cool.haxx.se]
To: curl-and-php_at_cool.haxx.se
Date: Sat, 4 Jun 2005 12:00:10 +0200
Subject: curl-and-php Digest, Vol 17, Issue 1
Hello
I have been trying to login to hotmail but all in vain. Infact I was
successfully doing that with hotmail's old login mechanism. Their new
login mechanism redirects the pages with javascript.
if I turned FOLLOWLOCATION to true it does not redirects accordingly due to javascript form submission.
Please help
_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
Received on 2005-06-08