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