#1 (permalink)  
Old 08-27-2004, 04:40 AM
Registered User
 
Join Date: Apr 2004
Posts: 6
farshad_s3
Cpanel/Whm API

hi
where can i find whm php api ?
does cpanel have it ? or any boddy can help me ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 09-14-2004, 07:25 PM
Registered User
 
Join Date: Dec 2003
Posts: 305
rhodesy
http://whm-aio.com/api/ - its not quite ready, but it's getting there.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 09-14-2004, 08:13 PM
Registered User
 
Join Date: Nov 2002
Posts: 1,752
anand is on a distinguished road
Quote:
Originally Posted by farshad_s3
hi
where can i find whm php api ?
does cpanel have it ? or any boddy can help me ?
If you are looking for the actual api released by cpanel, then you can find them as below

Using Perl : http://www.cpanel.net/remoteaccess.html

Using PHP : http://www.cpanel.net/remoteaccess-php.html
__________________
:: Anand ::
Authorised cpanel Partner NOC

ssh root@
who the hell is root ???

Cpanelappz Support Forums are up now. Register Today
http://forums.cpanelappz.com

WHM/cPanel API : http://whmapi.cpanelappz.com
Cpanel Login Script : www.cpanelappz.com/cpanel-login-script.htm
Exiscan+Clam+Exim Auto Installer : www.cpanelappz.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 09-15-2004, 05:08 AM
Registered User
 
Join Date: Dec 2003
Posts: 305
rhodesy
Yes but that is very limited.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 09-15-2004, 11:44 AM
Registered User
 
Join Date: Sep 2004
Posts: 6
monotreme is on a distinguished road
that does not work at all 4 me.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 09-15-2004, 12:27 PM
Registered User
 
Join Date: Dec 2003
Posts: 305
rhodesy
Quote:
Originally Posted by monotreme
that does not work at all 4 me.
What doesnt work?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 09-15-2004, 12:41 PM
Registered User
 
Join Date: Dec 2003
Posts: 305
rhodesy
Try this:

http://whm-aio.com/api.zip

It's not yet completed and the trial will run out on Sep 30th But most of the examples work.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 09-15-2004, 08:09 PM
Registered User
 
Join Date: Mar 2003
Location: Louisiana
Posts: 101
__DoPe_ShOw__ is on a distinguished road
I cannot get that API to work on my server. Maybe I need to register, but when I try it gets stuck on the payment screen. Blah... Anyone got any ideas?

Also does anyone know where the scripts directory is located at for the WHM?

Last edited by __DoPe_ShOw__; 09-15-2004 at 08:19 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 09-15-2004, 08:28 PM
Registered User
 
Join Date: Nov 2002
Posts: 1,752
anand is on a distinguished road
Quote:
Originally Posted by __DoPe_ShOw__
I cannot get that API to work on my server. Maybe I need to register, but when I try it gets stuck on the payment screen. Blah... Anyone got any ideas?

Also does anyone know where the scripts directory is located at for the WHM?
You will find most of the scripts inside the /scripts directory on your server. For the ones you don't find, are embeded inside WHM.
__________________
:: Anand ::
Authorised cpanel Partner NOC

ssh root@
who the hell is root ???

Cpanelappz Support Forums are up now. Register Today
http://forums.cpanelappz.com

WHM/cPanel API : http://whmapi.cpanelappz.com
Cpanel Login Script : www.cpanelappz.com/cpanel-login-script.htm
Exiscan+Clam+Exim Auto Installer : www.cpanelappz.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 09-15-2004, 09:39 PM
Registered User
 
Join Date: Mar 2003
Location: Louisiana
Posts: 101
__DoPe_ShOw__ is on a distinguished road
I know where the scripts would be but I can't even find the directory scripts... LOL... I searched all over the server in every directory that had anything to do with cPanel. Any suggestions?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #11 (permalink)  
Old 09-15-2004, 09:43 PM
Registered User
 
Join Date: Nov 2002
Posts: 1,752
anand is on a distinguished road
Quote:
Originally Posted by __DoPe_ShOw__
I know where the scripts would be but I can't even find the directory scripts... LOL... I searched all over the server in every directory that had anything to do with cPanel. Any suggestions?
login to your server using ssh

cd /scripts

You are now in the scripts directory.
__________________
:: Anand ::
Authorised cpanel Partner NOC

ssh root@
who the hell is root ???

Cpanelappz Support Forums are up now. Register Today
http://forums.cpanelappz.com

WHM/cPanel API : http://whmapi.cpanelappz.com
Cpanel Login Script : www.cpanelappz.com/cpanel-login-script.htm
Exiscan+Clam+Exim Auto Installer : www.cpanelappz.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 09-15-2004, 09:52 PM
Registered User
 
Join Date: Mar 2003
Location: Louisiana
Posts: 101
__DoPe_ShOw__ is on a distinguished road
Ahh haa, there ya go. Thanks. I am wanting to try to make the server status and apache status scripts like in the API listed above. I can't get the API to work right so I will try using the one cPanel gives if thats at all possible... blah.. Anyone got any ideas?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 09-15-2004, 10:54 PM
Registered User
 
Join Date: Nov 2002
Posts: 1,752
anand is on a distinguished road
Quote:
Originally Posted by __DoPe_ShOw__
Ahh haa, there ya go. Thanks. I am wanting to try to make the server status and apache status scripts like in the API listed above. I can't get the API to work right so I will try using the one cPanel gives if thats at all possible... blah.. Anyone got any ideas?
As i said earlier you won't find all the scripts in there. Some of them are embeded inside WHM, including those server status.
__________________
:: Anand ::
Authorised cpanel Partner NOC

ssh root@
who the hell is root ???

Cpanelappz Support Forums are up now. Register Today
http://forums.cpanelappz.com

WHM/cPanel API : http://whmapi.cpanelappz.com
Cpanel Login Script : www.cpanelappz.com/cpanel-login-script.htm
Exiscan+Clam+Exim Auto Installer : www.cpanelappz.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old 09-15-2004, 11:11 PM
Registered User
 
Join Date: Mar 2003
Location: Louisiana
Posts: 101
__DoPe_ShOw__ is on a distinguished road
Well, the API listed above doesn't work for some reason and I want to beable to show the server status like cPanel on my website. Any ideas on how to do that??
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15 (permalink)  
Old 09-16-2004, 04:16 PM
Registered User
 
Join Date: Dec 2003
Posts: 305
rhodesy
Are you adding your hash to config.php?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 02:09 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© cPanel Inc