Page 1 of 1

lost querystring

Posted: Mon Jan 05, 2004 3:37 pm
by webweber
I'm doing a page refresh/redirect which usually works fine, but in some Browsers/OS the querystring seems to get plain lost.

I'm using
$header = $GLOBALS[REDIRECT_QUERY_STRING];

and append it to the URL like someFile.php?$header

A user of Windows 2000 and Internet Explorer Version 6.0.2800.1106 reports that she just gets someFile.php, without querystring.

What is the safe way that will work on all systems / in all browsers?

Thanks in advance!

Andreas Weber
http://www.motiondraw.com

Posted: Mon Jan 05, 2004 8:39 pm
by JAM
Wont $_SERVER['REQUEST_URI'] help? Personally never used REDIRECT_QUERY_STRING, so it's just a thought.

Posted: Wed Jan 07, 2004 4:05 am
by webweber
JAM,

Thanks for your reply!
I made several changes and now it seems to work.
As I can't simulate the conditions in which the problem arose on the user's machine, I can't really tell wether using $_SERVER['REQUEST_URI'] made the difference. But as long as it is fixed now...

Andreas Weber
motiondraw.com