Posted by maisam on 10/10/05 19:03
Zoe Brown wrote:
> "JDS" <jeffrey@example.invalid> wrote in message
> news:pan.2005.10.10.15.55.03.894107@example.invalid...
>
>>On Mon, 10 Oct 2005 15:22:32 +0000, Zoe Brown wrote:
>>
>>
>>>How do I do redirect a page to a new page in php ???
>>
>>Maybe you mean "header()"?
>>
>>http://us2.php.net/header
>
>
> thanks.
>
> when I try this I get the error
>
> Warning: Cannot add header information - headers already sent by (...)
As the error message puts it... headers are allready sent and you cannot
add any. You have probably already printed out something or called
ob_start, make sure you call the header() function before any such
output statement.
>
> this is a php page with a form which posts to itself and if the detail are
> correct I will forward to a new url - ie a login page.
>
>>Use "Location: ..."
>>--
>> JDS | jeffrey@example.invalid
>> | http://www.newtnotes.com
>> DJMBS | http://newtnotes.com/doctor-jeff-master-brainsurgeon/
>>
>
>
>
Navigation:
[Reply to this message]
|