There's usually a difference between what I want to do, and what I can do.
The gist:
I am developing a web-based application that uses php and mysql. I want to be able to offer 30 day trials. I have one domain that I want to use for this. Each instance of the app requires it's own mysql db.
What I want to do:
1. User signs up at form
2. An account is created for the user
3. A mysql db is created and populated
4. The app is copied from a skeleton dir
5. User is able to login to their admin cp and have at it
I can write the scripts that handle the installations, copying, etc. I actually have something right now that does all of the above EXCEPT that instead of creating a user account, it creates a dir in the public_html dir of the domain. This works, but it's not as secure as each user having their own account.
Is there any way that I can write my own php script, or have modernbill (or similar) create an account for each user, all under one domain? Perhaps, user.mydomain.com?
