quentin2k Posted May 31, 2009 Share Posted May 31, 2009 Hello , Could you help me ? I need informations about API I have see a lot request for a register module for OVH.com but i don't found this module. OVH give this <?php $soap = new SoapClient('https://www.ovh.com/soapi/soapi-1.2.wsdl'); //login try { $login = "xxxxxx-ovh"; $password = "******"; $language = null; $multisession = false; $session = $soap->login($login,$password,$language,$multisession); echo "login successfull<br/>"; } catch(SoapFault $fault) { echo "Error : ".$fault; } //resellerDomainCreate try { $result = $soap->resellerDomainCreate($session, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', false); echo "resellerDomainCreate successfull<br/>"; print_r($result); // place your code here ... echo "<br/>"; } catch(SoapFault $fault) { echo "Error : ".$fault; } //logout try { $result = $soap->logout($session); echo "logout successfull<br/>"; } catch(SoapFault $fault) { echo "Error : ".$fault; } ?> To create a domain with their API and i have download your registrardevkit but i don't understand how does it work ! More info : http://www.ovh.com/soapi/en/ I have 8 servers and i want to use whmcs with all but i really need a register for European TLD extensions like : .FR .BE .ORG .INFO .BIZ Best regards, Quentin 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.