Re: querystrings passed in header("Location: n") ?

From: Date: Wed, 13 Feb 2002 17:12:17 +0000
Subject: Re: querystrings passed in header("Location: n") ?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-84608@lists.php.net to get a copy of this message
On Wednesday, February 13, 2002, at 10:37 AM, Rick Emery wrote:
What error did you receive? What was displayed? Please show your code; I hope there was no line break as shown below. Unfortunately, my mail client breaks lines after about 40 cchars.
Well, to post the actual code would be quite difficult, as there is a mess of includefiles involved. Basically, I received no error -- just that when I use the header() function and include a querystring in the argument to header(), there is no querystring in the URL of the next page. Someone who is familiar with the low-level nuts and bolts of the PHP engine should know whether or not querystrings are even valid in the header() function. for example: 'header("Location: http://n.com/n.php?n=1")' Next page's URL: 'http://n.com/n.php' Can any of the PHP development lurkers on this list comment on this?
I agree with you that it is handled as any string.
You mean that I am correct? Or that you think I should be correct? (not trying to sound insolent, just trying to nail down what's being said ;) Thanks Rick Erik ---- Erik Price Web Developer Temp Media Lab, H.H. Brown pricee@hhbrown.com

« previous php.general (#84608) next »