You are here: Re: @ character in http login « PHP Programming Language « IT news, forums, messages
Re: @ character in http login

Posted by Gordon Burditt on 04/23/06 06:18

>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?

You may be able to use something like
http://username%40hotmail.com:password@example.com

where @ is converted to %40 . The same approach may apply if the
password contains odd characters like @, colon, space, %, etc.

Gordon L. Burditt

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация