ez |
|
---|---|
this could be an issue ????
foxhound: Welke provider gebruik je ? (Zeker XS4ALL) I found where MY problem is coming from: To test your server settings make a php file with this code and run it
echo 'post_max_size = ' . ini_get('post_max_size') . "<br />n";
echo 'post_max_size+1 = ' . (ini_get('post_max_size')+1) . "<br />";
echo 'post_max_size in bytes = ' . return_bytes(ini_get('post_max_size')). "<br />";
echo 'upload_max_filesize = ' . ini_get('upload_max_filesize') . "<br />";
echo 'memory_limit = ' . ini_get('memory_limit') . "<br />";
function return_bytes($val) {
$val = trim($val);
$last = strtolower($val[strlen($val)-1]);
switch($last) {
// The 'G' modifier is available since PHP 5.1.0
case 'g':
$val *= 1024;
case 'm':
$val *= 1024;
case 'k':
$val *= 1024;
}
return $val;
}
This was my output: post_max_size = 8M npost_max_size+1 = 9 post_max_size in bytes = 8388608 upload_max_filesize = 2M memory_limit = 128M And that is where my problem is.... In functions.php there is a function sed_get_uploadmax() that gets some off these vars. In this case the upload_max_filesize IS THE CHECK FOR upload_max_filesize REALLY NEEDED ??? OR CAN I DISABLE IT Because there is a post_max_size size ! ==- I say: Keep it EZ -==
|
|
Bu gönderi ez tarafından düzenlendi (2010-03-17 04:02, 15 yıllar önce) |