php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2016 Query String not appearing when using #<num> in the URL before ?QUERY_STRING
Submitted: 1999-08-09 20:55 UTC Modified: 2000-05-22 04:18 UTC
From: alex dot kuprion at louisville dot edu Assigned:
Status: Closed Package: Other
PHP Version: 3.0.12 OS: RedHat Linux 6.0
Private report: No CVE-ID: None
 [1999-08-09 20:55 UTC] alex dot kuprion at louisville dot edu
When I run the following script like:

http://webpage/test.php3?test_string

The string (test_string) stored in $QUERY_STRING will be passed to the script. However if I do something like:

http://webpage.test.php3#1?test_string

The string will not be passed in $QUERY_STRING. I have also tried caling getenv('QUERY_STRING') but still nothing.

Here is a test script I've used to reproduce the problem:

<HTML>
<BODY>
<?
echo "$QUERY_STRING";

?>
</BODY>
</HTML>

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-05-22 04:18 UTC] jimw at cvs dot php dot net
its not a valid URL in that order. your browser is probably eating the query string.
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sun May 26 21:01:26 2019 UTC