Re: Header - Redirect Command Not Working
| From: | Bastien Koert | Date: | Tue, 10 Mar 2009 19:16:44 +0000 |
| Subject: | Re: Header - Redirect Command Not Working | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-289787@lists.php.net to get a copy of this message | ||
On Tue, Mar 10, 2009 at 3:13 PM, revDAVE <Cool@hosting4days.com> wrote:
> Newbie question...
>
> At the end of a php block I'm trying to use a redirect to go to another
> page.
>
> header('Location: show.php');
>
> It works on my test server w php 5.2.6 but not at the main server w v 5.12
>
> Is there a way to get it to go to the other page (even with a different
> command/function) - or am I doing something wrong?
>
>
>
> --
> Thanks - RevDave
> Cool @ hosting4days . com
> [db-lists 09]
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
Are you getting an error? What does 'not working' mean?
--
Bastien
Cat, the other other white meat