Zip files over 65mb won't upload to my database and file folder. The server allows 500MB and php allows 128MB
I have up the size of the file to determine how large the file can be before it stops working.
This is the form
Enter Your Account Email:
Upload File:
upload
And this is the code to add the files. It works but stops at a certain size.
if (!in_array($extension, ['mp3', 'wma', 'wav', 'zip'])) {
echo "Your file extension must be .mov, .wmv, .mp4 or .zip";
} elseif ($_FILES['myfile']['size'] > 100000000) { // file shouldn't be larger than 1Gigabyte
echo "File too large!";
To upload zip files at least 125MB