Re: The pound # in $_SERVER variables



Jim Carlock <anonymous@xxxxxxxxx> 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 !
' `) /
|\_ =="
.