Re: Keeping file pointers open after script end
| From: | Robert Cummings | Date: | Sat, 09 Jun 2007 21:08:41 +0000 |
| Subject: | Re: Keeping file pointers open after script end | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-256470@lists.php.net to get a copy of this message | ||
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.
--
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com
|
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'