RE: [PHP-DB] Quick question
| From: | Ford, Mike | Date: | Fri, 09 Dec 2005 11:55:22 +0000 |
| Subject: | RE: [PHP-DB] Quick question | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-40825@lists.php.net to get a copy of this message | ||
On 08 December 2005 20:53, Chris Payne wrote:
> Hi there everyone,
>
>
>
> How do I set the following items with ini_set()? I looked at
> the manual but
> when I try nothing happens:
>
>
>
> * file_uploads
> * upload_max_filesize
> * max_input_time
> * memory_limit
> * max_execution_time
> * post_max_size
Apart from max_execution_time, the things affected by those settings all take place before your
script even gains control -- so changing them in the script can never have any useful effect. To do
any good, they must be set in an appropriate config file (php.ini, httpd.conf, .htaccess, etc.) as
permitted.
Cheers!
Mike
---------------------------------------------------------------------
Mike Ford, Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Headingley Campus, LEEDS, LS6 3QS, United Kingdom
Email: m.ford@leedsmet.ac.uk
Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211
To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm