php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24263 Missing anchors in query string
Submitted: 2003-06-19 20:58 UTC Modified: 2003-06-19 22:36 UTC
From: csmith at squiz dot net Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 4.3.2 OS: RedHat 7.3
Private report: No CVE-ID: None
 [2003-06-19 20:58 UTC] csmith at squiz dot net
Description:
------------
Anchors from a URL don't appear in QUERY_STRING.

Reproduce code:
---------------
Create a page

<pre>
<?
print_r($_SERVER);
?>
</pre>

View it in a browser with an anchor tag on the end
eg
http://www.example.com/test.php#anchorname

#anchorname doesn't show up anywhere.


Expected result:
----------------
#anchorname to appear in QUERY_STRING or somewhere.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-06-19 21:37 UTC] pollita@php.net
The browser never sends anchor tags to the webserver, so unless you expect the webserver and/or PHP to be psychic, there's no way you'll ever see it.
 [2003-06-19 22:36 UTC] csmith at squiz dot net
Fair call. Thanks for the clarification.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Jul 06 09:01:29 2024 UTC