Re: [PHP] Reading remote files

2009-09-01 Thread Grace Shibley
Sheridan wrote: > On Tue, 2009-09-01 at 10:43 -0700, Grace Shibley wrote: > > HTTP > > > > On Tue, Sep 1, 2009 at 10:36 AM, Ashley Sheridan > > wrote: > > > > > On Tue, 2009-09-01 at 10:34 -0700, Grace Shibley wrote: > > > > Is there a way to read l

Re: [PHP] Reading remote files

2009-09-01 Thread Grace Shibley
HTTP On Tue, Sep 1, 2009 at 10:36 AM, Ashley Sheridan wrote: > On Tue, 2009-09-01 at 10:34 -0700, Grace Shibley wrote: > > Is there a way to read large (possibly 500 MB) remote files without > loading > > the whole file into memory? > > We are trying to write a function

[PHP] Reading remote files

2009-09-01 Thread Grace Shibley
Is there a way to read large (possibly 500 MB) remote files without loading the whole file into memory? We are trying to write a function that will return chunks of binary data from a file on our server given a file location, specified offset and data size. But, we have not been able to get around

[PHP] PHP translation needed

2007-12-17 Thread Grace Shibley
Hi Everyone, We have an encryption function that was written in another language that we needed translated to PHP. Here's the function: function rc4 pText, pKey -- initialize repeat with i = 0 to 255 put i into S1[i] end repeat put 0 into i repeat with n = 0 to 255