Re: Error when using HTTP Location header
| From: | Jason Wong | Date: | Wed, 21 Jul 2004 17:15:55 +0000 |
| Subject: | Re: Error when using HTTP Location header | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-191354@lists.php.net to get a copy of this message | ||
On Thursday 22 July 2004 01:00, Arnout Boks wrote:
> if(!$pwd == $correctPwd){
> header('Location: ' . urlencode('loginForm.php?error=Incorrect
You only urlencode() the values of each individual parameter and NOT the whole
url.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
You are fairminded, just and loving.
*/