[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-general
Subject:    [PHP] Streaming to a file.
From:       Richard Quadling <rquadling () gmail ! com>
Date:       2011-02-21 13:19:04
Message-ID: AANLkTik1s7DF-Hg3=U0asWPLAOF3fOwQaitfUNg43-bX () mail ! gmail ! com
[Download RAW message or body]

Hi.

Is there a way to use streams such that I can have my source stream as
"bzip2 . decompress : / / data . bz2" (had to add spaces as I think
this is causing a bounce on the lists for php) and my output stream as
"data", without having to read from one and write to the other in a
loop?

Essentially "push" the data from one place to another. Whilst I accept
buffering will happen in this, it seems boring to have to do it
myself.

Richard

-- 
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic