Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member GeekPatrolMille's Avatar
    Join Date
    Mar 2004
    Location
    McKinney, Texas, USA
    Posts
    84

    Default /scripts/ question

    Some time ago, I wrote a specialized billing interface using Excel to parse a lot of WHM screens and Access to automagically generate invoices. It works quite well but I am now trying to do the same thing from a php script and a cron job. I have everything I need in one tidy mysql database except for Parked Domains information.

    I am familiar with the /scripts/listsubdomains script to gather a list of an accounts registered subdomains. I am interested in finding a similar function for Parked Domains. I have poked around and found some data files I might can parse the parked domain info from but before I reinvent the wheel, I was hoping this is a script someplace on the cpanel server.

    I am also familiar with the accounting functions include and class for php, which I am using for a few items, it just does not provide Parked Domain data.

    I would even be interested in knowing which data file cpanel keeps track of this info so if I do need to write my own script, I know I am grabbing data from the best place.

    Thanks to anyone who can point me in the right direction.

    -greg
    Gregory A. Miller
    AGBSM Networks, LLC
    McKinney, Texas
    469-247-1444

    removespam.gmiller@agbsm.net

  2. #2
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Not sure about a script. The data is, however, stored in /var/cpanel/users/*
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  3. #3
    Member GeekPatrolMille's Avatar
    Join Date
    Mar 2004
    Location
    McKinney, Texas, USA
    Posts
    84

    Default

    I had found that directory too... I suppose I will write the parsing script to extract the data I need...

    Thanks chirpy!!!

    -greg
    Gregory A. Miller
    AGBSM Networks, LLC
    McKinney, Texas
    469-247-1444

    removespam.gmiller@agbsm.net

Similar Threads & Tags
Similar threads

  1. /scripts/pkgacct question
    By celliott in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 01-23-2008, 03:54 AM
  2. Question about /scripts/mysqlup
    By XMBG-Host in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 11-12-2007, 10:47 AM
  3. Few question about /scripts
    By Grzeslaw in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 01-09-2007, 05:47 AM
  4. cPanel Scripts Question
    By vlee in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 12-23-2005, 12:10 PM
  5. newbie question about scripts
    By Grants in forum New User Questions
    Replies: 2
    Last Post: 10-07-2005, 11:23 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube