Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Aug 2004
    Posts
    13

    Default auto acct creation

    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.

  2. #2
    Member
    Join Date
    Feb 2004
    Posts
    329

    Default

    Which part are you writing? If you just need the information to create an account using WHM's API, checkout this site http://cpanel.net/remoteaccess-php.html . If you're looking for the entire script, the forms, the database entry, account creation, billing and such, look at http://phpcoin.com http://whoiscart.net for starters.

  3. #3
    Member
    Join Date
    Aug 2004
    Posts
    13

    Default

    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.

  4. #4
    Member
    Join Date
    Aug 2004
    Posts
    13

    Default

    BUMP...I really need help with this.

Similar Threads & Tags
Similar threads

  1. auto acct creation script
    By thekidscareya in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-22-2004, 06:11 AM
  2. Acct. Creation Problem
    By MCD in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 11-05-2003, 10:56 PM
  3. Terminating Acct / Should Auto Kill Packages Too
    By YukFoo in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-21-2002, 04:10 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube