You are here: Cannot modify header information - headers already sent by « All PHP « IT news, forums, messages
Cannot modify header information - headers already sent by

Posted by J Huntley Palmer on 05/15/06 21:46

I am getting this error:
Cannot modify header information - headers already sent by

when I issue a
header ("Location: http://www.foobar.com");

How can I redirect the user to such a site without encountering this error.

If I run the same code on two sites I will get the error on one site but
not the other.

An I can t figure out what setting in the php.ini that is different.

How can one send a refresh in 0 seconds to the broweser?

Thanks

 

Navigation:

[Reply to this 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

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