You are here: Re: urlencode and $_GET « PHP Programming Language « IT news, forums, messages
Re: urlencode and $_GET

Posted by M. Trausch on 11/17/05 21:17

Oli Filth wrote:
>>
>> That's because the browser treats %23 as #... e.g., you cannot use that
>> character, as it's local to the browser as a named-anchor.
>
> What? No it doesn't.
>

According to RFC 1738, the characters that should be escaped in a URL
are {\$&+,:/=?@}. It defines the following characters to be unsafe, and
hence undefined as to how the application can/will handle it and remain
compliant with the RFC: { "`'<>#%\{\}|\\\^~[]}

So... you're partially right. It doesn't *have* to. The point is that
the intended use of the hash mark is as a named-anchor reference. It
doesn't have to be passed. It depends on the application's
implementation of RFC 1738.

Regards,
Mike

--
Strip the obvious trash from the header to send e-mail.

 

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

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