Reply to Re: new to php

Your name:

Reply:


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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация