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! Quote Link to comment 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. Quote Link to comment 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.