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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
49 + 30 = ?
Subscribe to this entry?

 
 [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-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 22:01:30 2024 UTC