wie kann ich es einstellen das der upload größer als 2mb ist.
gefunden habe ich in der fun_extra.php
function get_max_file_size() { // get php max_upload_file_size
$max = get_cfg_var(„upload_max_filesize“);
if(@eregi(„G$“,$max)) {
$max = substr($max,0,-1);
$max = round($max1073741824);
} elseif(@eregi(„M$“,$max)) {
$max = substr($max,0,-1);
$max = round($max1048576);
} elseif(@eregi(„K$“,$max)) {
$max = substr($max,0,-1);
$max = round($max*1024);
}
return $max;
}
da ich viel mit bildern arbeite sollte schon 6 mb drin sein