示例用法
创建 DnsMadeEasy 类的实例
// log into your DNS Made Easy account to generate/obtain your API key and secret key.
// specify TRUE for the last parameter if you want to make test API calls.
$ dme = new DnsMadeEasy ( 'yourApiKey' , 'yourSecretKey' , TRUE );
添加域
$ result = $ dme -> domains -> add ( 'foobar.com' );
if ( $ errors = $ result -> errors ()) {
print_r ( $ errors );
}
else {
// outputs th
2021-06-20 21:03:28
7KB
PHP
1