To get the size of a file in PHP you can use the following snippet.
You can combine this snippet with How to convert bytes to human readable file size in PHP.
Sample PHP
$MyFileSize = filesize('fileName');
All the Code Snippets and Samples you need
To get the size of a file in PHP you can use the following snippet.
You can combine this snippet with How to convert bytes to human readable file size in PHP.
$MyFileSize = filesize('fileName');
You must be logged in to post a comment.
RT @CodeSnippetsNET: How to get the size of a file in #PHP http://t.co/SaAUSJxCvK #html #css #js #jquery #javascript
RT @CodeSnippetsNET: How to get the size of a file in #PHP http://t.co/SaAUSJxCvK #html #css #js #jquery #javascript