Hi there,
I've designed sites for people and would like to know the TOTAL size of the directory AND ALL sub directories etc contained in it in MEGABYTES of their site. BUT ive looked at examples posted on php.net and was wondering if there is a way to do the following:
I would like the get the size of the folders using the following method:
A) The Directory needs to be the root: C:/hshome/ldtiw200/ then the sites folder which will be pulled from a database so for example $row_users['userfolder']
😎 Not have it as 0.6516337813 but say 12.3 Megabytes
I'm needing to know how much money I have to get of them. So im wanting to multiply the megabytes by the cost of each megabyte. Each megabyte costs £0.20 so is there a way to output for example: 12.3MB@0.20 Per MB = £2.46?
thanks,
Danny Lewin