Need A Function To Validate Cpanel Login Details Using Api1

Hi,

I have been trying to create a PHP function to validate cPanel login details on a remote server using API1.

I’m currently using the xmlapi class from cPanel, so you need to use that as well when creating me the function:
https://github.com/CpanelInc/xmlapi-php/blob/master/xmlapi.php

I tried the following, but it does not work:
http://pastebin.com/ACqjNy8K

What I need is someone to correct the function above, so it works.
Need to return false upon wrong login details, true if c…

Leave a Reply

Your email address will not be published. Required fields are marked *