Google Answers Logo
View Question
 
Q: PHP scripts which access Cpanel ( No Answer,   3 Comments )
Question  
Subject: PHP scripts which access Cpanel
Category: Computers > Internet
Asked by: rod985-ga
List Price: $15.00
Posted: 09 May 2005 08:32 PDT
Expires: 13 May 2005 07:54 PDT
Question ID: 519500
I run a web design company and we have a dedicated server which has
Cpanel/Web Host Manager installed. I would like to set up a customized
area whereby clients can do the following: add/remove e-mail
addresses/forwarders/autoresponders, check their bandwidth & disk
usage (according to Cpanel), manage their files, check statistics, and
more. I would like to develop this interface in PHP, and it needs to
be able to access & edit information that is native to Cpanel without
ever actually logging into or seeing Cpanel. I know there is an
Accounting module that can interact with PHP to set up accounts and
whatnot, but it cannot interact with Cpanel after the account has been
created for things like checking bandwidth, administering e-mail
addresses, etc. Is there some sort of PHP API
available to do this? If not, how can I go about fulfilling such requirements?

I do not need this done FOR me, but rather, just some guidance - a
starting point with a couple examples I can build upon.

Thanks,

Anthony
Answer  
There is no answer at this time.

Comments  
Subject: Re: PHP scripts which access Cpanel
From: siber-ga on 09 May 2005 09:24 PDT
 
I currently have hosting through http://www.psychz.net and they have
this Cpanel installed. However, it takes care of nearly everything you
asked already... I'm not quite sure exactly what you need answered.

When  i searched Cpanel X on google, i found this "Demo Cpanel" is
this what your looking for?

http://www.lightningservers.net/cpanel-demo/frontend/bluelagoon/index.html
Subject: Re: PHP scripts which access Cpanel
From: rod985-ga on 09 May 2005 10:23 PDT
 
No. My problem is that I would like to make the new interface
completely unique and branded, and allow the client to use many more
features than Cpanel offers without having to log in to multiple
pages. Additionally, Cpanel only allows for one username/password
combo per domain, so there is no way of assigning multiple logons with
different permission sets. So, basically, I am creating a system which
allows our clients to create different logons with different
permissions, all of which will be able to (depending on their
permissions) access billing info, CMS features, and overall site
administration features in one centralized location. Since Cpanel does
not directly handle billing, CMS, user permissions, and much more, I
would like to create a system that does all of that and has the
ability to interact with Cpanel for features such as bandwidth and
disk usage checking, e-mail address administration, etc etc.

So, back to my question: How does Cpanel store/create/modify its
account information and how I can import/export such information
between Cpanel and a separate PHP script?
Subject: Re: PHP scripts which access Cpanel
From: farmal-ga on 12 May 2005 01:45 PDT
 
Hi,
You can use their PHP interface to create or manage accounts, check this link:
<a href="http://www.cpanel.net/remoteaccess-php.html">http://www.cpanel.net/remoteaccess-php.html</a>

This will do the very simple tasks, However to have a complete branded
control page or panel you need to create a "Theme", Try to download
the "X" theme tarbal from WHM and customize it with images, text, etc.
Then pack it and install it on server using same section in WHM. Let
all of your users use this new theme.

farmal

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy