"Nick Patsaros" wrote: > 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.
http://www.php.net/filesize Luke Welling -- PHP and MySQL Web Development Luke Welling and Laura Thomson http://www.amazon.com/exec/obidos/ASIN/0672317842 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php