php get size of file
$fileSizeInBytes=filesize("/path/to/myfile.txt");
php get size of file
$fileSizeInBytes=filesize("/path/to/myfile.txt");
The uploaded file exceeds the upload_max_filesize directive in php.ini.
Open the php.ini file
Locate the following line:
upload_max_filesize = 100M
Replace 100M with a higher value in megabytes. (256 MB for example)
This file allows you to configure other settings as well:
memory_limit 256M – Sets the max amount of memory a script can use.
post_max_size 32M – Sets the max size for the total of the POST body data.
max_execution_time 600 – Max time, in seconds, that a script is allowed to run.
max_input_time 900 – Max time, in seconds, that a script is allowed to parse input data.
Save the file and exit.
/*
I hope it will help you.
Namaste
Stay Home Stay Safe
*/
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us