I'm still alive.
--
From: "Dan Cech"
Sent: Monday, May 16, 2011 2:22 PM
To:
Subject: Re: [nyphp-talk] Does PHP have file size download limits?
Bestpractice?
On 5/16/2011 2:16 PM, David Roth wrote:
I want to offer users to be able to download
There are no filesize limits, but you can run in to memory limits if
you load the file into memory.
To avoid this, use `fpassthru`.
In terms of best practices, don't pass a user generated filename into
fopen. It is a security mess.
If you really need to allow arbitrary filenames, you should scr
On 5/16/2011 2:16 PM, David Roth wrote:
I want to offer users to be able to download a file from a PHP script. I
seem to remember there were/are file size download limits with PHP?
You're probably thinking of the php ini settings that affect file
uploads. The issues you're likely to run into
I want to offer users to be able to download a file from a PHP script.
I seem to remember there were/are file size download limits with PHP?
Also what is the best practice for doing this with a PHP script? Thanks!
David Roth
___
New York PHP Users