Have you tried this?
header("Location: $retURL");
?
> -Original Message-
>
> $retUrl = htmlspecialchars ($retUrl);
>
> if ($retUrl != "") {
> header("Location: " . $retUrl);
>
> Any ideas?
This messa
Nope, doesn't work.
Maybe it's something with the server/PHP setup?
> From: Richard Baskett <[EMAIL PROTECTED]>
> Date: Fri, 21 Jun 2002 16:35:11 -0700
> To: Tom Beidler <[EMAIL PROTECTED]>, PHP General
> <[EMAIL PROTECTED]>
> Subject: Re: [PHP] hea
Tom,
Include the $returl variable within the quotes, like this:
header("Location: $returl");
If that doesn't work, add these two lines just before the header() function:
echo "[$returl]";
exit;
Maybe that will uncover something.
Chris
Tom Beidler wrote:
>I'm trying to use header("Location
low and we reach it." - Michelangelo
> From: Tom Beidler <[EMAIL PROTECTED]>
> Date: Fri, 21 Jun 2002 16:22:20 -0700
> To: php list <[EMAIL PROTECTED]>
> Subject: [PHP] header("Location with & in URL
>
> I'm trying to use header("Location to r
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Tom Beidler declared
> I'm trying to use header("Location to redirect to a URL that has variables
> in it, ie.
>
> http://www.blah.com/phones.php?phn_indvId=1&phn_indvType=client
>
> When it redirects I get the url minus everything a
I'm trying to use header("Location to redirect to a URL that has variables
in it, ie.
http://www.blah.com/phones.php?phn_indvId=1&phn_indvType=client
When it redirects I get the url minus everything after the first ampersand.
I tried using htmlentities with no joy like so...
$retUrl = htmlspeci
6 matches
Mail list logo