The pound # in $_SERVER variables
- From: "Jim Carlock" <anonymous@xxxxxxxxx>
- Date: Sat, 30 Jun 2007 12:57:23 -0400
(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
(1) What do you call a sublink with the pound (#) symbol?
(2) How do I get to the #test_internal_sublink?
--
Jim Carlock
.
- Follow-Ups:
- The pound # in $_SERVER variables
- From: Jim Carlock
- The pound # in $_SERVER variables
- Prev by Date: Re: Server Wide Scripts in a Linux Environment
- Next by Date: The pound # in $_SERVER variables
- Previous by thread: Server Wide Scripts in a Linux Environment
- Next by thread: The pound # in $_SERVER variables
- Index(es):