Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Postwwwacct script: automate on account creation

Discussion in 'cPanel Developers' started by cPanelDavidN, May 29, 2010.

  1. cPanelDavidN

    cPanelDavidN Integration Developer

    Joined:
    Dec 17, 2009
    Messages:
    571
    Likes Received:
    3
    Trophy Points:
    68
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Hi All,

    Just wanted to point out an article I wrote over at the cPanel Integration Blog about making script hooks. Specifically, in the article I walk through making a postwwwacct script that will create a new database and new virtual database user; pair the two for the freshly created cPanel account.

    Frequently Asked Scripts: "How do I automate XYZ after creating an account?" - cPanel Integration

    FYI, if you're interesting in DB Mapping and how it affects API calls, you should definitely check it out (as well as the completed script for download which has a few more comments); there are some good little gems of knowledge in there.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice