Forum Moderators: coopster
I know as a newbie it can take time to build a rappor with existing members, but hopefully i can do that during the next few months.
For now however i'm looking for some adivce on the best way to deal with a feature a client of mine wants added into his site. For some reason i just can't get my head around how it needs to be done so am looking for suggestions, comments opinions.
What we have is a site which allows "the main user" to create an account, then within that account they can create sub accounts. What i am trying to get my head around is how this...
my client wants to restrict each main account to say 250 mb of webspace and x ammount of bandwidth per month, they would ideally like something like you see in hotmail, yahoo mail etc where you can see a graphical representation of how much websapce you have left. To add another element, they are also considering offer differnt types of account ie a free one and a paid one so i need to work that in aswell.
The only way i can think at the moment is by using some sort of webhosting system as that allows you to control how much webspace etc when the customer creates the main account.
We will be using either subdomains or normal mysite.com/account_name system.
If anybody has any ideas at all then please let me know.
Thanks,
Rob
1. hard drive space.. you would have to create a CMS system of somesort with an upload feature( a virtual FTP client on the web) to manage your disk space..
2. bandwidth.. you would need to make a wrapper script so everything it requested got read through the wrapper and the wrapper would count/calculate all the bandwidth and use a db to manage everything..
or find a premade solution.. there are alot out there that have their own ftp system and mod_throttle like modules for apache.
anything can be done, just vision it :)