Finding what headers and content were already been sent

From: Date: Fri, 31 May 2002 23:26:47 +0000
Subject: Finding what headers and content were already been sent
Groups: php.general 
Request: Send a blank email to php-general+get-100185@lists.php.net to get a copy of this message
Hello, I need to find out, at any point in a PHP script, which headers and what content (HTML or other) have been sent already. I know I can use output buffering, but in my case, this is not going to work. By the way, I know that PHP's phpinfo() function lists headers received and headers sent, but I couldn't find how can I access them in PHP. In addition, how do I know what content has been sent at any point in a script? Thanks in advance for your help. Noor P.S.: Output buffer is not an option, so no solution there.

« previous php.general (#100185) next »