For Programmers: Free Programming Magazines  


Home > Archive > PHP DB > February 2006 > webhosting with php/mysql and disk quota









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author webhosting with php/mysql and disk quota
vassilis

2006-02-27, 6:58 pm

Hello all,
is it possible to do the following thing with php/mysql?

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 on=
ly.
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 accou=
nts

thanks in advance
Vassilis

-- =

Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com