note 87987 deleted from internals2.ini by bjori

From: Date: Tue, 17 Feb 2009 10:37:54 +0000
Subject: note 87987 deleted from internals2.ini by bjori
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-150747@lists.php.net to get a copy of this message
Note Submitter: asadabbas88 at gmail dot com ---- I have found a very useful trick ... It may help someone so I think of posting it here ... most people have some restriction in accessing their php.ini file ... so they use ini_set() method ... but for few things eg upload_max_filesize it won't as it is very late to set these type of setting during the execution of the script ... so if you are using apache then .htaccess file can solve your problem :) just create a .htaccess file and for setting your upload_max_filesize value to 100 MB u can just write : php_value upload_max_filesize 101M in your .htaccess file and you are done. Make sure your .htaccess file is in the directory where your php file resides.

« previous php.notes (#150747) next »