Forum Moderators: coopster
1. user registers
2. upon clicking the "submit" button a php script creates a mysql DB
with a unique name ( So far so good, till there I have no prob)
3. the specific user gets SELCT INSERT UPDATE rights for his database only.
4. Mysql quota is set to 10MB
5. user directory with write permission only by the specific user gets created
under the www directory.
6. Syncronization of Disk quota and mysql quota e.g. 9MB pictures in the user directory,
means 1MB left for mysql or the oposite 9MB mysql data, 1mb free in the user directory.
This whole thing must run on its own without someone to create the accounts
thanks in advance
Vassilis
PS: As someone suggested in another forum, a possible solution is to connect php to a perl demon and the execute then system related actions. ( php should not execute scripts as root due to security reasons). Any good link to start reading about this or maybe another idea?