Re: PHP command for redirect?
| From: | Jason Wong | Date: | Wed, 29 May 2002 07:48:28 +0000 |
| Subject: | Re: PHP command for redirect? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-99640@lists.php.net to get a copy of this message | ||
On Wednesday 29 May 2002 15:37, Tim Thorburn wrote:
> Hi,
>
> I'm setting up an error checking element to a registration site and would
> like to redirect the user to a certain page if they missed any fields on
> the previous registration page ... the problem is I can't seem to find a
> redirect command for PHP.
>
> I was using the header command, but its giving me attitude now that I've
> also got the script setup to send an email to the admins if a form is
> filled out incorrectly.
>
> I just went through the list of commands on the PHP website - but without
> really knowing what kind of name I'm looking for ... well, it wasn't all
> that enlightening.
Well the 'command' for redirect is header(). What attitude is it giving you?
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
system consumed all the paper for paging
*/