Hallo,
I download opensource file uploader from the internet and there is one problem with it. I cannot exceed the limit of php.ini maximum file size:
file-upload.php
// we should not exceed php.ini max file size
$ini_maxsize = ini_get('upload_max_filesize');
if (!is_numeric($ini_maxsize)) {
if (strpos($ini_maxsize, 'M') !== false)
$ini_maxsize = intval($ini_maxsize)*1024*1024;
elseif (strpos($ini_maxsize, 'K') !== false)
$ini_maxsize = intval($ini_maxsize)*1024;
elseif (strpos($ini_maxsize, 'G') !== false)
$ini_maxsize = intval($ini_maxsize)*1024*1024*1024;
}
if ($ini_maxsize < MAX_FILE_SIZE*1024) {
$errors[] = "Alert! Maximum upload file size in php.ini (upload_max_filesize) is less than script's MAX_FILE_SIZE";
}
Now, I have to upload a large file even up to 50 GB (*.exe file and which similar to video files).
I already able to upload word & powerpoint documents, but not large video > 19 GB.
Any clue how to fix this problem?