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:
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.
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"));
Thanks for your help in advance. I really appreciate it.



LinkBack URL
About LinkBacks
Reply With Quote





