Hi,
I transfer my reseller account from a hosting to another hosting.
Now everything is good but CMD_API_FILE_MANAGER not working and return empty error.
Here is my code:
Please help me.
Thanks.
I transfer my reseller account from a hosting to another hosting.
Now everything is good but CMD_API_FILE_MANAGER not working and return empty error.
Here is my code:
PHP:
<?php
$sock = new HTTPSocket;
$sock->connect(IP, 2222);
$sock->set_login('reselleracount|testuser', ResellerPassword);
$sock->query('/CMD_API_FILE_MANAGER', array(
'action' => 'edit',
'path' => "/domains/test.com/public_html",
'text' => 'test file',
'filename' => 'myfile.php'
));
$result=$sock->fetch_parsed_body();
if($result['error']!=='0'){
echo $result['details'];
}else{
//do my work
}
?>
Please help me.
Thanks.