ID: 9212
Updated by: derick
Reported By: [EMAIL PROTECTED]
Status: Open
Old-Bug Type: Output Control
Bug Type: Feature/Change Request
Assigned To: 
Comments:

passtru doesn't use the output buffering functions. It's not meant to be, so changing 
to Feature request.

Previous Comments:
---------------------------------------------------------------------------

[2001-02-11 11:06:21] [EMAIL PROTECTED]
When fpassthru() is used within an ob_start / ob_end_clean block, a subsequent call to 
header() fails because headers have already been sent. The following script reproduces 
the problem:

<?php
    $fd = fopen(__FILE__, "r");
    ob_start();
    fpassthru($fd);
    ob_end_clean();
    header("X-Test: fpassthru already sent headers");
?>

Ran as cgi (ie 'php head.php'), but the apache module exhibits the same problem. This 
problem may be similar to bug #8807

./configure --with-apxs=/usr/local/etc/httpd/bin/apxs --enable-versioning --with-mysql 
--enable-track-vars

no php.ini is used

---------------------------------------------------------------------------



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9212&edit=2


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to