#50507 [Opn->Bgs]: Query String doesn't bring the value after #
| From: | jani@php.net | Date: | Thu, 17 Dec 2009 15:45:34 +0000 |
| Subject: | #50507 [Opn->Bgs]: Query String doesn't bring the value after # | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-145858@lists.php.net to get a copy of this message | ||
ID: 50507
Updated by: jani@php.net
Reported By: m dot kathirav at gmail dot com
-Status: Open
+Status: Bogus
Bug Type: *General Issues
Operating System: Linux
PHP Version: 5.3.1
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2009-12-17 13:26:13] m dot kathirav at gmail dot com
Description:
------------
Query String doesn't bring the value after #. The string after
#(including #) are ignored
Example:
If I give an URL like: http://www.example.com/index.html#tab1 in the
browser
I am trying to make up a page with tabs in which the following should
happen:
If given http://www.example.com/index.html#tab1, this
should enable the
tab1 by default (while loading the page). I am handling this in PHP, JS
if given http://www.example.com/index.html#tab2, this
should enable the
tab2 by default (while loading the page). I am handling this in PHP, JS
in JS when I give window.location, it gives all the string after # too,
but this is not happening in PHP
Reproduce code:
---------------
<?PHP
//assuming browser has opened the url:
http://www.example.com/index.html#tab1
echo $_SESSION[ 'QUERY_STRING' ];
?>
Expected result:
----------------
#tab1
Actual result:
--------------
NULL value
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=50507&edit=1