43dd345b2b5965951442522bbf9002d9aee0d34c
Bernd Wurst Neues Modul zum Prüfen der...

Bernd Wurst authored 10 years ago

modules/adddomain/include/terions.php  1) <?php
modules/adddomain/include/terions.php  2) /*
modules/adddomain/include/terions.php  3) This file belongs to the Webinterface of schokokeks.org Hosting
modules/adddomain/include/terions.php  4) 
Bernd Wurst Lizenzinfos in eigenes Modu...

Bernd Wurst authored 10 years ago

modules/adddomain/include/terions.php  5) Written 2008-2014 by schokokeks.org Hosting, namely
Bernd Wurst Neues Modul zum Prüfen der...

Bernd Wurst authored 10 years ago

modules/adddomain/include/terions.php  6)   Bernd Wurst <bernd@schokokeks.org>
modules/adddomain/include/terions.php  7)   Hanno Böck <hanno@schokokeks.org>
modules/adddomain/include/terions.php  8) 
modules/adddomain/include/terions.php  9) To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty.
modules/adddomain/include/terions.php 10) 
modules/adddomain/include/terions.php 11) You should have received a copy of the CC0 Public Domain Dedication along with this software. If not, see 
modules/adddomain/include/terions.php 12) http://creativecommons.org/publicdomain/zero/1.0/
modules/adddomain/include/terions.php 13) 
modules/adddomain/include/terions.php 14) Nevertheless, in case you use a significant part of this code, we ask (but not require, see the license) that you keep the authors' names in place and return your changes to the public. We would be especially happy if you tell us what you're going to do with this code.
modules/adddomain/include/terions.php 15) */
modules/adddomain/include/terions.php 16) 
Bernd Wurst Neue Version der http.net-P...

Bernd Wurst authored 8 years ago

modules/adddomain/include/httpnet.php 17) require_once('external/http.net/domainRobotApi.php');
Bernd Wurst Neuer API-Zugriff auf regsp...

Bernd Wurst authored 10 years ago

modules/adddomain/include/terions.php 18) 
Bernd Wurst Neues Modul zum Prüfen der...

Bernd Wurst authored 10 years ago

modules/adddomain/include/terions.php 19) require_once('inc/debug.php');
modules/adddomain/include/terions.php 20) require_once('inc/base.php');
modules/adddomain/include/terions.php 21) require_once('inc/security.php');
modules/adddomain/include/terions.php 22) require_once('inc/error.php');
modules/adddomain/include/terions.php 23) 
modules/adddomain/include/terions.php 24) 
modules/adddomain/include/terions.php 25) function terions_available($domainname) 
modules/adddomain/include/terions.php 26) {
Bernd Wurst Neue Version der http.net-P...

Bernd Wurst authored 8 years ago

modules/adddomain/include/httpnet.php 27)   if (! config('http.net-apikey')) {
Bernd Wurst Neuer API-Zugriff auf regsp...

Bernd Wurst authored 10 years ago

modules/adddomain/include/terions.php 28)     system_failure("Kein API-Key vorhanden!");
Bernd Wurst Neues Modul zum Prüfen der...

Bernd Wurst authored 10 years ago

modules/adddomain/include/terions.php 29)   }
Bernd Wurst Neue Version der http.net-P...

Bernd Wurst authored 8 years ago

modules/adddomain/include/httpnet.php 30)   $api = new domainRobotApi(config('http.net-apikey'));
Bernd Wurst Neuer API-Zugriff auf regsp...

Bernd Wurst authored 10 years ago

modules/adddomain/include/terions.php 31)   $result = $api->domainStatus($domainname);
Bernd Wurst Neue Version der http.net-P...

Bernd Wurst authored 8 years ago

modules/adddomain/include/httpnet.php 32)   if (isset($api->getValue()[0])) {
modules/adddomain/include/httpnet.php 33)     return ($api->getValue()[0]->status == 'available');
Bernd Wurst Neues Modul zum Prüfen der...

Bernd Wurst authored 10 years ago

modules/adddomain/include/terions.php 34)   }
Bernd Wurst Neuer API-Zugriff auf regsp...

Bernd Wurst authored 10 years ago

modules/adddomain/include/terions.php 35)   return false;