thekidscareya

Member
Aug 11, 2004
13
0
151
Can someone write me a PHP script that creates an account automatically in WHM?

I want to query a MySQL database using the following SQL query:

SELECT tblRequest.RequestID, tblRequest.Name, tblRequest.Username, tblRequest.Email, tblRequest.Password, tblRequest.Domain, tblRequest.Reason, tblStatus.Name
FROM tblStatus INNER JOIN tblRequest ON tblStatus.StatusID=tblRequest.Status
WHERE (((tblStatus.Name)="Accepted"));
Then, I want to create the account using the details from the query. Finally, I wish that the the details of the account creation is sent to the Email address received from the query.

Thanks for your help in advance. I really appreciate it.
 

thekidscareya

Member
Aug 11, 2004
13
0
151
I'm not looking for the billing script. I'm just looking for the script that I mentioned above. I have everyting else taken care of.

I'm not great with PHP and I didn't understand very much of what it said on the documentation page. That's why I was asking for help here.

Thanks for your help.