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.
Working with INI settings
Working with INI settings
asadabbas88 at gmail dot com
04-Jan-2009 10:55
04-Jan-2009 10:55
