You are here: Re: PHP file sends headers the moment it's included! « PHP Programming Language « IT news, forums, messages
Re: PHP file sends headers the moment it's included!

Posted by Oli Filth on 12/29/05 16:34

comp.lang.php said the following on 29/12/2005 14:20:
> I did just that, emptied "classes.inc.php" out to the following:
>
> <?php if (headers_sent()) print_r("headers sent"); ?>
>
> output: headers sent
>
> It generated headers even when the file was a 1-liner without any
> content whatsoever!

Well that implies that the headers must be being sent out by your main
script (i.e. the one that includes classes.inc.php). Try the same
approach with that file?


--
Oli

 

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

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