RE: [PHP] upload_max_filesize + ini_set
| From: | Dan Rossi | Date: | Mon, 23 Dec 2002 20:47:16 +0000 |
| Subject: | RE: [PHP] upload_max_filesize + ini_set | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-129226@lists.php.net to get a copy of this message | ||
maybe someone would like to report it , my reports either get ignored or are
false alarms , i am creating a function to get the line upload_max_filesize
and change its value in .htaccess its the only way , and this is everytime i
load the uploader page
-----Original Message-----
From: Ford, Mike [LSS] [mailto:M.Ford@lmu.ac.uk]
Sent: Monday, December 23, 2002 11:40 PM
To: 'electroteque'; php-general@lists.php.net
Subject: RE: [PHP] upload_max_filesize + ini_set
> -----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