John Campbell wrote:
David,

This does not apply to files that mix php and html.  This is for php
only files, such as classes, or config files.   If your application
separates the presentation logic from the application logic, you will
have lots of files that are pure php and this prevents those scripts
from inadvertently sending output to the browser.

I do use scripts that do not output anything, but I usually run a browser redirect within the code once done and before the closing tag, so I guess it wouldn't matter in my case as the bogus content would come after the redirect and it also doesn't matter once content is sent. I don't think I have any scripts so far that would cause this problem, but good to know that this issue exists.

David
_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

Reply via email to