Is there a PHP script or piece of code I can type to change a WHM account's password?
+1
A:
I am not sure what you mean with WHM but if you mean what I mean, then this class might help you.
This class can be used to manipulate Cpanel/WHM hosting accounts using the XML Web services API.
It can establish secure HTTP connections to a Web server to manage Cpanel/WHM accounts and authenticates on behalf of a given Cpanel user.
The class can execute several types of requests:
- Retrieve the XML API version
- Retrieve the server host name
- List the active hosting accounts
- List the available packages
- Create a new account
- Retrieve a summary about an account
- Change the password of an account
- Suspend, unsuspend and terminate an account
- Upgrade or downgrade a package
Felix Kling
2010-03-02 07:05:04