Re [PHP] Secure File Upload
| From: | Stephen Phillips | Date: | Wed, 05 Jun 2002 08:49:46 +0000 |
| Subject: | Re [PHP] Secure File Upload | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-100670@lists.php.net to get a copy of this message | ||
Hi,
Not sure if this would work in limiting the file size of an upload or not, but I noticed a line in
my php.ini file which seems to limit the size of any data sent by a POST, of course this would be a
serverwide setting I guess.
the line is;
post_max_size = 8M;
I'm assuming this would be set to less and would restrict uploads, however there must be a
better way of doing it since this seems a bit brutal.
__________________________________________________________________
Steve Phillips
Mr
ICQ#: 37350686
Current ICQ status:
+ More ways to contact me
__________________________________________________________________