Hello,
I've spent hours searching through the cPanel API docs, forums, etc. trying to find a solution to what I think is a fairly simple problem. I'm new to cPanel and fairly new to Php although I have a fair amount of programming experience.
I am trying to figure out how to access cPanel remotely from a Php script so I can add secondary FTP accounts to my web hosting account.
The client management software I am running on my domain provides a module that runs in the background written in Php that I can modify to perform remote tasks and then return status. (Note that this module executes in the background after a new customer successfully signs up - so there is no browser involved for input or output from/to the customer).
It would really help if somebody could show me an example of how this could be done with the XMLAPI. Since that seems easiest (but any method that works is fine).
Any help is appreciated!
Dan
I've spent hours searching through the cPanel API docs, forums, etc. trying to find a solution to what I think is a fairly simple problem. I'm new to cPanel and fairly new to Php although I have a fair amount of programming experience.
I am trying to figure out how to access cPanel remotely from a Php script so I can add secondary FTP accounts to my web hosting account.
The client management software I am running on my domain provides a module that runs in the background written in Php that I can modify to perform remote tasks and then return status. (Note that this module executes in the background after a new customer successfully signs up - so there is no browser involved for input or output from/to the customer).
It would really help if somebody could show me an example of how this could be done with the XMLAPI. Since that seems easiest (but any method that works is fine).
Any help is appreciated!
Dan