rockstardev
rockstardev

Reputation: 13527

Change WHM password via PHP?

Is there a PHP script or piece of code I can type to change a WHM account's password?

Upvotes: 0

Views: 724

Answers (1)

Felix Kling
Felix Kling

Reputation: 816610

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

Upvotes: 1

Related Questions