Board index   FAQ   Search  
Register  Login
Board index PHP PHP Scripts

Show folder size

Links for php scripts

Moderators: macek, egami, gesf

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

so yer looking for filesize of the files in the directory?
User avatar
Redcircle
Moderator
Moderator
 
Posts: 830
Joined: Tue Jan 21, 2003 10:42 pm
Location: Michigan USA

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 ;
Oleg Butuzov
Last Samuray
Last Samuray
 
Posts: 831
Joined: Sun Jun 02, 2002 3:09 am


Return to PHP Scripts

Who is online

Users browsing this forum: No registered users and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.

cron