I have no access to the '/usr/local/cpanel/Cpanel/Accounting.php.inc' file... I actually want to develope a PHP script to remote add accounts. It seems that all the docs assume that you have root access to the server (which I don't) or at best are going to be using that server to host the script to auto create the account. I have two servers...
ServerOne :
- all my user accounts
- cpanel access
- no root access
- webserver
- email server
ServerTwo :
- root access
- webserver
I would like to take ServerTwo and have a script for users to sign up on it. Then that script send the account creation request to ServerOne (with the encription key) and let my user create the account basicly.. All they would choose is there username and pass.. if its not taken then I would create the account etc..
Any ideas how I might go about this? I have sceen the 'Accounting.php.inc' file and have it.. But it references other files on the server in that area ofcorse.. makeing the script useless.. for example..
'$result = whmreq("/scripts/remote_suspend?user=${suspenduser}",$host,$user,$accesshash,$usessl);'
Thanks,
Armega



LinkBack URL
About LinkBacks


Reply With Quote





