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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Postwwwacct script: automate on account creation

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

  1. cPanelDavidN

    cPanelDavidN Integration Developer
    Staff Member

    Dec 17, 2009
    Likes Received:
    Trophy Points:
    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.

Share This Page