|
|
 |
Re: FN-FORUM: PHP Download script
date posted 10th January 2008 14:17
On 10 Jan 2008 11:15:40 -0000, Richard Airlie [EMAIL REMOVED] wrote:
>
> I've had problems with readfile() in the past when sending large files,
> as PHP was attempting to allocate a massive buffer for the file and
> failing. This was on an old version of PHP 4, not sure if it's still the
> case in later versions, but worth bearing in mind if your code will run
> in different environments. It's discussed a bit on http://php.net/readfile.
>
> cheers,
> Richard
Hi Richard,
Thanks for the note.
I have good experience with readfile(). Works OK for small files such
as jpeg pictures and big files too - mp3 (about 80MB each) on two
different servers. I guess PHP/server configuration is very important
when using readfile().
Jay
--
Web Developer
Cathill Design
Web Development | Graphic Design | Multimedia
www.cathill.com/portfolio
|
 |
|