Created
October 26, 2012 15:36
-
-
Save MiLk/3959474 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| try { | |
| $soap = new SoapClient("https://www.ovh.com/soapi/soapi-re-1.26.wsdl"); | |
| //login | |
| $session = $soap->login("xxxxxx-ovh", "******","fr", false); | |
| echo "login successfull\n"; | |
| //zoneEntryAddCustom | |
| $soap->zoneEntryAddCustom($session, "hostyourcreeper.net", "SRV", "CUSTOM", "", "_minecraft._tcp.server010.hyc002", "", "10 10 25510 server010.hyc002.hostyourcreeper.net.", ""); | |
| echo "zoneEntryAddCustom successfull\n"; | |
| //logout | |
| $soap->logout($session); | |
| echo "logout successfull\n"; | |
| } catch(SoapFault $fault) { | |
| echo $fault; | |
| } |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
SoapFault exception: [soap:510] Erreur de mise à jour, la nouvelle configuration ne fonctionnera pas