Reporting the size of a file/directory on the web server. 820420

From: Date: Fri, 15 Mar 2002 10:32:45 +0000
Subject: Reporting the size of a file/directory on the web server. 820420
Groups: php.general 
Request: Send a blank email to php-general+get-88637@lists.php.net to get a copy of this message
I've scoured the PHP manual and I still can't seem to find it. What I'm trying to do is have PHP grab the size of a file or directory (say of a php file) then when that file is displayed, I want it to display the size of the file in the footer of the page. I would also like to have the viewer of my web site be able to check the total size in KB or MB of the entire site. I also forsee applications of this in the direction of reporting the filesize of a file on my FTP which could be used to calculate the approximate download time for different connection types. Is there a way do this? If so I thank you in advance for the help. __________________________________________________ Do You Yahoo!? Yahoo! Sports - live college hoops coverage http://sports.yahoo.com/

« previous php.general (#88637) next »