php max file size code example
Example 1: php maxupload
; Maximum allowed size for uploaded files.
upload_max_filesize = 40M
; Must be greater than or equal to upload_max_filesize
post_max_size = 40M
Example 2: php get size of file
$fileSizeInBytes=filesize("/path/to/myfile.txt");