Show folder size

Links for php scripts

Moderators: macek, egami, gesf

User avatar
Redcircle
Moderator
Moderator
Posts: 830
Joined: Tue Jan 21, 2003 10:42 pm
Location: Michigan USA
Contact:

Postby Redcircle » Thu Feb 20, 2003 12:53 pm

so yer looking for filesize of the files in the directory?

User avatar
Oleg Butuzov
Last Samuray
Last Samuray
Posts: 831
Joined: Sun Jun 02, 2002 3:09 am

Postby Oleg Butuzov » Fri Feb 21, 2003 12:24 am

algoritm:

open dir
make list of files...
getsize of file
add file fize to $allsize
next file
close dir
echo $allsize ;


Return to “PHP Scripts”

Who is online

Users browsing this forum: No registered users and 0 guests

cron