Does anyone know how to change this setting without access to the ini file? Perhaps with a .htaccess file? Thanks!
ini_set() wouldn't work because the file is already passed to your script within the HTTP request (before the script has a chance to set a new value). So your only two options will be php.ini or .htaccess (I'm not sure if upload_max_filesize is something that can be overridden outside of php.ini, but it's worth a try).
php_value upload_max_filesize 10485760 Would that set upload_max_filesize to 10 Mb...assuming it works EDIT: didn't work (500 Internal Server Error), does anyone know if this is possible?
If you're on shared hosting, i wouldn't be surprised if the ISP went out of their way to make sure you couldn't change this value as it could have dire consequences for server performance. I know I would
If you have good hosting, even if it's shared, you can ask that to be changed and they will do it. I did that for a forum I have
I guess if you ask the host and it is reasonable, a good host would do it. But letting users change it themselves is risky.