postwwwacct auto create Mysql DB

msd25

Member
May 15, 2009
7
0
51
Marysville
So I have a postwwwacct that gets passed variables that will e-mail the client their new account info. What I would like to do is take these variables and create a Mysql DB and user that is 'user'_moodle. (Moodle will not auto create a DB during it's installation on a Cpanel server, and no I do not want Fantastico.)

I need to have the account creation and DB/User creation automated to reduce my admin overhead. I have looked across the forums and found the API stuff but nothing seems to be straight forward for the way I want to do it. Everything else simple says to look at the hooks or they are for PHP. I just want it done inside the postwwwacct script.

Anybody got anything I can use?
 

PlatinumServerM

Well-Known Member
PartnerNOC
Jul 10, 2005
400
3
168
New Jersey, USA
cPanel Access Level
Root Administrator
I'm not sure of any scripts readily available that you can use for this. You may have to make one from scratch. It should be very easy for a programmer to do in just a few lines.