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.

Script for get all domains on server.

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

  1. speckados

    speckados Well-Known Member

    Joined:
    May 21, 2003
    Messages:
    291
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Acequias :: Granada :: España
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Hi.

    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 https://example.com:2087/xml-api/listaccts?searchtype=owner&search=root 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
     
Loading...

Share This Page