On Fri, 2007-02-09 at 11:24 -0800, Philippe Piernot wrote: > I understand that the headers_sent() function will tell me whether headers > have been sent or not. > What I do not understand is what triggers the headers to be sent to the > browser in the first place. > Does this happen as soon as the first output occurs? Probably. Unless you have output buffering enabled, in which case headers are sent when the PHP process completes. Cheers, Rob. -- .------------------------------------------------------------. | InterJinn Application Framework - http://www.interjinn.com | :------------------------------------------------------------: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `------------------------------------------------------------' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php