Re: Validation: Problems with header(Location) in PHP
| From: | Jason Wong | Date: | Tue, 23 Sep 2003 21:10:21 +0000 |
| Subject: | Re: Validation: Problems with header(Location) in PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-163641@lists.php.net to get a copy of this message | ||
On Thursday 25 September 2003 04:22, Martin Raychev wrote:
> I am kind of newbie coming from ASP and I came upon some hindrances, which
> could be because of not knowing enough of PHP
>
> The problem is:
> I am trying to make a form with good and user-friendly validation. After
> failure to validate properly some of the fields and going to another page
> i.e. the <form action="anotherpage.php"> I need to go back to the previos
> page where the form is.
> In ASP I would use Response.Redirect and that's it but the
>
> header (Location...) in PHP is said that it must be on top of the HTML page
> before anything else. This doesn't seems to work for me.
What is your *exact* code and *how* does it not work?
> Does anyone has a solution to this problem?
Not unless we know what you're doing wrong.
--
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
------------------------------------------
/*
"Is it really you, Fuzz, or is it Memorex, or is it radiation sickness?"
-- Sonic Disruptors comics
*/