Re: Keeping file pointers open after script end

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/9/07, Robert Cummings <robert@xxxxxxxxxxxxx> wrote:
On Sat, 2007-06-09 at 23:09 +0200, Tijnema wrote:
> On 6/9/07, Robert Cummings <robert@xxxxxxxxxxxxx> 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

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux