How to use Filesystem filesize in PHP
In this article I am going to explain about filesize function in PHP.
PHP filesize() Function
The filesystem filesize function is used to get a specified file size.
Syntax of filesize function
Parameters in filesize function
It has only one parameter:
Parameter |
Description |
filename |
It specifies the file to check. |
Example of filesystem filesize function
<html>
<body>
<?php
echo filesize("C:\wamp\www\Dinesh\PhpIntro.txt");
?>
</body>
</html>
|
Output:
You may also want to read these related articles :here
Ask Your Question
Got a programming related question? You may want to post your question here
Programming Answers here