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!

Script for get all domains on server.

Discussion in 'cPanel Developers' started by speckados, Sep 21, 2011.

  1. speckados

    speckados Well-Known Member

    May 21, 2003
    Likes Received:
    Trophy Points:
    Pastrana :: Guadalajara :: España
    cPanel Access Level:
    DataCenter Provider

    I'm looking for any example for create a script for retrive a list with all domains on server for root owner.

    I not specialist on php. Usually use bash.

    I see doc for use API and example such for retrieve first list of account owned for root but get a FORBIDDEN.

    Run on server and try use localhost, and with wget put user root and passwrod, but fails.

    I think that i know system for use API calls.

    Ani ideas for a beginner ??

    A lot of thanks
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

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