Re: fopen() and Hotmail.com

From: Date: Wed, 12 Jul 2000 22:27:32 +0000
Subject: Re: fopen() and Hotmail.com
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-6324@lists.php.net to get a copy of this message
Just a couple of hints. I think hotmail redirects you to a secure server only momentanously to make the login, maybe thats the problem. Also, I think I have read that fopen() only works with HTTP/1.0. I dunno, maybe some requirement of hotmail. Best of luck! david ----- Original Message ----- From: "Wouter" <wouter@thenavy.com> To: <php-general@lists.php.net> Sent: Thursday, July 13, 2000 12:26 AM Subject: [PHP] fopen() and Hotmail.com > I've been trying to get rid of the crappy Hotmail interface by creating a > php script to download my mail for me. However, for some vague reason I am > unable to connect to the hotmail.com webserver. > > Here's some of the code (lines 15 & 16): > > $url = > "http://lc1.law5.hotmail.passport.com./cgi-bin/dologin?username=<myusername> > &passwd=<mypassword>"; > $hotmail = fopen($url, "r"); > > And this is the error message: > > Warning: > fopen("http://lc1.law5.hotmail.passport.com./cgi-bin/dologin?username=xxxxxx > x&passwd=xxxxxxx","r") > - No error in e:\apache\htdocs\hotmail.php4 on line 16 > > Connecting to other websites (even microsoft.com) does work, but any > connection to hotmail.com fails (even plain > http://www.hotmail.com/). Copy pasting the URL from the script > in IE results > in displaying my inbox, so I fail to > understand why php cannot do that. > > I would be very gratefull for any suggestions or tips. > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#6324) next »