Re: header("Location with & in URL
| From: | Nick Wilson | Date: | Fri, 21 Jun 2002 23:36:30 +0000 |
| Subject: | Re: header("Location with & in URL | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-103348@lists.php.net to get a copy of this message | ||
-----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 after the first ampersand.
> I tried using htmlentities with no joy like so...
Hmmm... I use this all the time on a site I'm working on (part time
personal site) and I have no trouble.
header("Location: $PHP_SELF?id=$id&auth=34");
- --
Nick Wilson // www.explodingnet.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
iD8DBQE9E7h9HpvrrTa6L5oRArZUAJ9zjpmnM4yHziKzrOIYstNCar+HMgCgoFyV
aKiQ2qZDr5AIEbcQQYEtmCw=
=ubon
-----END PGP SIGNATURE-----