Reply to Re: urlencode and $_GET

Your name:

Reply:


Posted by meltedown on 11/17/05 17:58

M. Trausch wrote:
> meltedown wrote:
>
>>clarificatin: # are allowed in urls, but only as part of an anchor
>>identifyer.
>>
>>
>>>Thats what urlencode() is for, and it works fine. The question is: why
>>>doesn't %23 and everything after it make it to $_GET ?
>>
>
> That's because the browser treats %23 as #...
Right. but its a # which is not an anchor.
e.g., you cannot use that
> character, as it's local to the browser as a named-anchor. Use a
> different character. The browser treats all URL escaped characters *as
> the character it is*,
Yes that's what I want it to do.
You can use that charactar as something besided an anchor, as long as it
is encoded. See the example I just posted in this thread.

so you can encode spaces and ~ and all sorts of
> other things into the URL.
>
> - Mike
>

[Back to original 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

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