Re: fopen with login credentials being an email address
| From: | Curt Zirzow | Date: | Fri, 09 Jul 2004 06:29:53 +0000 |
| Subject: | Re: fopen with login credentials being an email address | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-190029@lists.php.net to get a copy of this message | ||
* 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!