[thelist] PHP upload_max_filesize

Johnny Jørgensen aggie at aggie.dk
Mon Feb 18 12:14:01 CST 2002


there are a number of alternatives to having them change the php.ini
setup;

if you are allowed to do settings from .htaccess, thats a good place,
just put this in a .htaccess in the folder:

php_value upload_max_filesize {new_bytes_max}

(see http://www.php.net/manual/en/configuration.php for further details)

This may not be possible (depending on their .htaccess restrictions),
and you might try (if you run php v. 4+), in your script, to do

ini_set(upload_max_filesize,{new_bytes_max});
(see http://www.php.net/manual/en/function.ini-set.php for further details)


hth,
--
Johnny Jørgensen <aggie at aggie.dk>

"Eagles may soar, but weasels don't get sucked into jet engines"




More information about the thelist mailing list