When using
ini_get(\"upload_max_filesize\");
it actually gives you the string specified in the php.ini file.
It is not good to use
Well you can always use this syntax, which will give you correct numbers from PHP ini file:
$maxUpload = (int)(ini_get('upload_max_filesize')); $maxPost = (int)(ini_get('post_max_size'));
Mart