Re: note 12066 added to function.readfile.php
| From: | Jesus M. Castagnetto | Date: | Wed, 21 Mar 2001 14:02:50 +0000 |
| Subject: | Re: note 12066 added to function.readfile.php | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-12636@lists.php.net to get a copy of this message | ||
Nick,
Tnxs for the contribution, but once was enough. Your
other notes will be removed.
--- nick@climbers.net wrote:
> I've noticed that calling readfile() with an
> "http://" filename breaks output buffering (eg, gzip
> compression) in PHP 4.0.3pl1 - the result is that
> headers_sent() returns true.
>
> A workaround is to use fopen/fgets/fclose instead,
> which works fine with output buffering.
>
> http://www.php.net/manual/en/function.readfile.php
>
>
> --
> PHP Notes Mailing List (http://www.php.net/)
> To unsubscribe, e-mail:
> php-notes-unsubscribe@lists.php.net
> For additional commands, e-mail:
> php-notes-help@lists.php.net
> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>
=====
--- Jesus M. Castagnetto <jmcastagnetto@php.net>
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/