You are here: Re: The pound # in $_SERVER variables « PHP Programming Language « IT news, forums, messages
Re: The pound # in $_SERVER variables

Posted by denisb on 06/30/07 21:16

Jim Carlock <anonymous@127.0.0.1> wrote:
> (1) test.php?test_key=test+value
> $_SERVER['SCRIPT_NAME'] returns /test/test.php
> $_SERVER['REQUEST_URI'] returns /test/test.php?test_key=test+value
> $_SERVER['QUERY_STRING'] returns test_key=test+value
>
> (2) test.php?test_key=test+value#test_internal_sublink
> $_SERVER['SCRIPT_NAME'] returns /test/test.php
> $_SERVER['REQUEST_URI'] returns /test/test.php?test_key=test+value
> $_SERVER['QUERY_STRING'] returns test_key=test+value
>
> Questions
> (2) How do I get to the #test_internal_sublink?

maybe you can see around 'parse_url()' function :

<http://www.php.net/manual/en/function.parse-url.php>

--
@@@@@
E -00 comme on est very beaux dis !
' `) /
|\_ =="

 

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

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