Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
PHP interaction with WHM
Old 03-30-2008, 11:06 PM PHP interaction with WHM
Experienced Talker

Posts: 35
Name: Nadeem Syed
Trades: 0
Hi,

I've been trying for a couple days to get this to work, but can someone tell me how can i make a PHP code to interact with WHM?

Example:

I want to create a PHP code that will automatically create a account in WHM. Basically like a php code where i can use to instantly setup a account WHM using the WHM remote key and username.


Thank you!
__________________

Please login or register to view this content. Registration is FREE
Nadeem0319 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 04-02-2008, 10:51 AM Re: PHP interaction with WHM
rogem002's Avatar
PHP Chap

Posts: 843
Name: Mike
Location: United Kingdom
Trades: 0
There is a file somewhere in WHM/cPanel called "Accounting.php.inc", it has the functions for what you need. The exact function you need is "createacct".
__________________
My Blog/Site:
Please login or register to view this content. Registration is FREE

Last edited by rogem002; 04-02-2008 at 10:52 AM..
rogem002 is offline
Reply With Quote
View Public Profile Visit rogem002's homepage!
 
Old 04-02-2008, 02:09 PM Re: PHP interaction with WHM
ISSC's Avatar
Skilled Talker

Posts: 65
Name: A. Mansouri
Location: Jeddah, K.S.A
Trades: 0
In WHM Go to:
Main >> Cluster/Remote Access >> Setup Remote Access Key

You will find this:
A remote access key is used for automatic account creation scripts, external billing software, and various other things that need to call the WHM to create / remove / modify accounts. You can learn more about using this feature here.
A reference implementation of an automatic account creation script is available on attachment. This script is only a sample. You should modify it to provide account signup security base upon your account setup policies.

Regards,
A. Mansouri
Attached Files
File Type: zip signup.zip (4.4 KB, 1 views)
ISSC is offline
Reply With Quote
View Public Profile Visit ISSC's homepage!
 
Reply     « Reply to PHP interaction with WHM
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.17470 seconds with 13 queries