@ character in http login
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

@ character in http login

From: <simonp@nospam.com>
Date: Sun Apr 23 2006 - 04:53:20 CEST

I am trying to use the basic http://user:password@example.com
form for authentication inside a script.

My only problem is my username contains the @ character (its an
email address). As result, the url seems to be parsing
incorrectly.

Has anyone found a way around this problem?

Cheers
Simon

-- 
Stupendous Tales
www.stupendoustales.com
Speculative Fiction, Pulp Dreams
Received on Mon May 1 03:02:15 2006