note 87987 added to internals2.ini
| From: | asadabbas88 at gmail dot com | Date: | Sun, 04 Jan 2009 22:55:43 +0000 |
| Subject: | note 87987 added to internals2.ini | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-148834@lists.php.net to get a copy of this message | ||
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.
----
Server IP: 69.147.83.197
Probable Submitter: 119.30.120.190
----
Manual Page -- http://www.php.net/manual/en/internals2.ini.php
Edit -- https://master.php.net/note/edit/87987
Del: integrated -- https://master.php.net/note/delete/87987/integrated
Del: useless -- https://master.php.net/note/delete/87987/useless
Del: bad code -- https://master.php.net/note/delete/87987/bad+code
Del: spam -- https://master.php.net/note/delete/87987/spam
Del: non-english -- https://master.php.net/note/delete/87987/non-english
Del: in docs -- https://master.php.net/note/delete/87987/in+docs
Del: other reasons-- https://master.php.net/note/delete/87987
Reject -- https://master.php.net/note/reject/87987
Search -- https://master.php.net/manage/user-notes.php