Does something in the php.ini have to be enabled for...
Posted: Fri Oct 28, 2005 10:19 am
Does something have to be uncommented for the file operations such as uploading files in the php.ini?
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Given what it's in the ini file for I very much doubt ini_set() allows it. It's kinda a security/bandwidth thing for server admins.Skittlewidth wrote:Out of interest, can you override the 2mb limit using ini_set()?
I don't think our hosts would be so kind to change the ini file despite the money we throw at them..
You may use .htaccess instead of ini_set() or php.ini:Skittlewidth wrote:Out of interest, can you override the 2mb limit using ini_set()?
I don't think our hosts would be so kind to change the ini file despite the money we throw at them..
Code: Select all
<Limit GET POST>
php_value upload_max_filesize "8M"
</Limit>
php_value post_max_size "10M"
php_value memory_limit "12M"
php_value max_execution_time "600"