Reply to Re: PHP file sends headers the moment it's included!

Your name:

Reply:


Posted by Jerry Stuckle on 12/29/05 21:59

Jim Carlock wrote:
> "Jerry Stuckle" <jstucklex@attglobal.net> posted:
> comp.lang.php commented:
>
>>>I did just that, emptied "classes.inc.php" out to the following:
>>>
>>><?php if (headers_sent()) print_r("headers sent"); ?>
>>>
>>>output: headers sent
>>>
>>
>>But it DOES have content - it has a blank line! That in
>>itself is enough to force the headers to be sent.
>
>
> Doesn't print_r("headers sent") represent the content output?
>
> Jim Carlock
> Post replies to the newsgroup.
>
>

It would if he hadn't put if (headers_sent()) before it...

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[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

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