Re: fopen with login credentials being an email address

From: Date: Fri, 09 Jul 2004 16:19:56 +0000
Subject: Re: fopen with login credentials being an email address
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-190085@lists.php.net to get a copy of this message
Yes I had quotes. And you're right the interpretation of the URL is as you laid it out. Unfortunatelly I don't have control on the login credentials. Tried %40 to replace the @ but then it won't be accepted as a login. Thanks for your reply! G. "Curt Zirzow" <php-general@zirzow.dyndns.org> wrote in message news:20040709062953.GV99175@bagend.shire... > * Thus wrote Gunter Sammet: > > Hi all: > > Tried to use fopen like this: > > > > fopen(myname@mydomain.com:mypassword@subdomain.maindomain.com); > > I hope you have some sort of quotes around that. > > > > > Didn't work and I couldn't find anything out on the search engines. > > You simply cant have @ or : in the username, it violates the URL > specifications. A quick reading of your fopen would tell me to: > > open a connection to 'mydomain.com' on port > 'mypassowrd@subdomain.maindomain.com', and send the username > 'myname'. > > > Curt > -- > First, let me assure you that this is not one of those shady pyramid schemes > you've been hearing about. No, sir. Our model is the trapezoid!

« previous php.general (#190085) next »