09-10-2003, 04:22 PM
Is there a way to change this without editing the php.ini file (which I do not have access to)? Maybe with .htaccess or something else?
I'm using a php file manager and it seems there's a 2mb limit. :confused:
09-10-2003, 05:05 PM
From what I know there is no way to change the upload size limits other than editing the php.ini.
09-10-2003, 05:43 PM
there isnt as far as i know of either... alot of free hosts do this to prevent upload of illegal mp3's, and just to limit you so you may consider paid hosting.
Are you paying? If so, i suggest you contact your webhost and ask them to do something.
09-10-2003, 06:24 PM
What you're looking for is the upload_max_filesize setting. According to the PHP documentation, it has a changeable setting of: PHP_INI_SYSTEM, meaning it can only be changed in the php.ini or httpd.conf files.
Changeable settings are:
PHP_INI_USER = Entry can be set in user scripts
PHP_INI_PERDIR = Entry can be set in php.ini, .htaccess or httpd.conf
PHP_INI_SYSTEM = Entry can be set in php.ini or httpd.conf
PHP_INI_ALL = Entry can be set anywhere
For more information, check out the ini_set function in php
09-10-2003, 08:12 PM
Thanks all, that answers my question.