Re: Keeping file pointers open after script end

From: Date: Sat, 09 Jun 2007 21:19:23 +0000
Subject: Re: Keeping file pointers open after script end
References: 1 2 3 4 5 6 7  Groups: php.general 
Request: Send a blank email to php-general+get-256478@lists.php.net to get a copy of this message
On 6/9/07, Robert Cummings <robert@interjinn.com> wrote:
On Sat, 2007-06-09 at 23:09 +0200, Tijnema wrote: On 6/9/07, Robert Cummings <robert@interjinn.com> wrote:
On Sat, 2007-06-09 at 22:00 +0100, Stut wrote:
Tijnema wrote:
Hmm, fseek seems cool, but what about FTP resources? If I open them with ftp_connect, do I need to fetch all data from FTP again, and then just trash all data I don't need?
Yes, but depending on what you're actually doing you may be able to cache enough to skip large chunks in subsequent requests.
Why not just pass the chunk of data along in the session? Cheers, Rob.
Quite nasty to pass 1 DVD (4,7GB) of data through session huh? Quite :) Your example illustrated 11 bytes... but I can understand that it was just and example *heheh*. Cheers, Rob. Maybe I will end up with chunks of 10 bytes ;)
Tijnema

« previous php.general (#256478) next »