legohead6 Posted February 8, 2008 Share Posted February 8, 2008 ok, i need a peice of code that gets the size of a folder on page load. (the folder size may change well browsing), Also the folder could be anywhere from 0mb to 10gigs, so it would need to read correctly no matter what... also it would be nice if it was in mb form not in bytes, so 1000mb or 324.44mb..etc i have tried filesize() but it doesnt seem to work... could someone please help me out! Link to comment https://forums.phpfreaks.com/topic/90105-solved-folder-size-from-0mb-to-10-gigs/ Share on other sites More sharing options...
revraz Posted February 8, 2008 Share Posted February 8, 2008 Google search http://www.weberdev.com/get_example-4561.html Modify it to display how you like. Link to comment https://forums.phpfreaks.com/topic/90105-solved-folder-size-from-0mb-to-10-gigs/#findComment-462005 Share on other sites More sharing options...
legohead6 Posted February 8, 2008 Author Share Posted February 8, 2008 THANKS, that worked like a charm, i always forget about google, i was trying to search php.net, but its hopeless Link to comment https://forums.phpfreaks.com/topic/90105-solved-folder-size-from-0mb-to-10-gigs/#findComment-462020 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.