I am coding to get the size of the file stored in a directory. But unfortunately I am bashed with the error filesize(): stat failed for fq.txt and the program is not giving the answer. I am newbee to php, it would be great if anyone could suggest anything.. my code is as follows:
Code:
<?php $dir = "C:\Users\Desktop\php"; $dh = opendir($dir); while (($file = readdir($dh)) == TRUE)