Re: Keeping file pointers open after script end
| From: | Tijnema | Date: | Sat, 09 Jun 2007 21:09:36 +0000 |
| Subject: | Re: Keeping file pointers open after script end | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-256472@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 22:00 +0100, Stut wrote: Tijnema wrote:Quite nasty to pass 1 DVD (4,7GB) of data through session huh? TijnemaHmm, 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.