RE: Quick question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx
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

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux