Re: Header - Redirect Command Not Working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2009/3/10 revDAVE <Cool@xxxxxxxxxxxxxxxx>

> 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?


Is display_errors on and error_reporting set to at least E_ALL? My guess
would be your test server has output buffering on but your main server does
not. Without errors there's no way to be sure.

-Stuart

-- 
http://stut.net/

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux