RE: [PHP] upload_max_filesize + ini_set

From: Date: Mon, 23 Dec 2002 12:40:07 +0000
Subject: RE: [PHP] upload_max_filesize + ini_set
Groups: php.general 
Request: Send a blank email to php-general+get-129171@lists.php.net to get a copy of this message
> -----Original Message----- > From: electroteque [mailto:daniel@electroteque.org] > Sent: 20 December 2002 19:34 > > and i just tested the script and it let me upload a 2.5M > file. Well, I was just quoting from the manual, so that sounds worthy of a bug report in itself -- either the manual is wrong, or the behaviour of PHP is! > so there must > be a way to put it in the page aswell No, there mustn't -- this I am sure about. As I said before: > As all file upload activity takes place before > your script even *starts* executing, you can't use > ini_set on this [upload_max_filesize]. Cheers! Mike --------------------------------------------------------------------- Mike Ford, Electronic Information Services Adviser, Learning Support Services, Learning & Information Services, JG125, James Graham Building, Leeds Metropolitan University, Beckett Park, LEEDS, LS6 3QS, United Kingdom Email: m.ford@lmu.ac.uk Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211

« previous php.general (#129171) next »