Hello,
look at this very simple sample:
Returns :
As you can see, response returns some weirds characters. I've checked my files encoding, it's UTF-8.
Anyone can help me ?
Regards,
look at this very simple sample:
PHP:
<?php
require_once('xmlapi.php');
$ip = 'XX.XXX.XXX.XX';
$accessHash = 'XXXXXXXXXXXXXXXXXXXXXXX.....';
$xmlapi = new xmlapi($ip);
$xmlapi->set_port(2087);
$xmlapi->hash_auth("root",$accessHash);
$xmlapi->set_output('xml');
echo $xmlapi->version(); die;
Code:
<version>
<version>11.40.0.19</version>
</version>
©
<!-- Web Host Manager 11.40.0.19 (c) cPanel, Inc. 2013 http://cpanel.net/ Unauthorized copying is prohibited. -->
}
Anyone can help me ?
Regards,