Documentation

add_domain.inc.php

Page-level DocBlock

Table of Contents

Functions

add_domain()  : mixed
Anlegen einer Domain

Functions

add_domain()

Anlegen einer Domain

add_domain(array<string|int, mixed> $parameter) : mixed
Parameters
$parameter : array<string|int, mixed>

folgende Parameter sind möglich:

  • kas_login: das betreffende KAS Login
  • kas_auth_data: die Authentifizierungsdaten
  • kas_auth_type: der Authentifizierungstyp
  • domain_name: Hostname ohne TLD
  • domain_tld: die TLD
  • domain_path: der Hostpfad im Account oder bei Redirect ein FQDN oder ein WBK (optional, Beispiele: /pfad/ oder http://domain.tld (redirect_status required) oder wbk:wbk000001
  • redirect_status: Redirectstatus: 0|301|302|307, 0 = kein Redirect (optional, default 0)
  • statistic_version: die Webalizerversion: 0|4|5|7 (optional, default 5)
  • statistic_language: die Webalizersprache: de|en (optional, default de)
  • php_version: die gewünschte PHP Version: 5.X|7.X (optional, default 7.1)
Tags
link

Beispiel

throws
true

die Aktion wurde durchgeführt

throws
missing_parameter

ein Pflichtparameter fehlt

throws
host_is_dummyhost
throws
domain_tld_not_allowed
throws
redirect_status_syntax_incorrect
throws
couldnt_get_kas_ressources
throws
domain_path_syntax_incorrect
throws
domain_syntax_incorrect
throws
hostname_syntax_incorrect
throws
hostname_forbidden
throws
statistic_syntax_incorrect
throws
couldnt_get_kas_ressources
throws
max_domain_reached
throws
account_is_dummyaccount

das Anlegen ist in diesem Account nicht möglich

throws
hostname_exists_as_domain
throws
php_version_syntax_incorrect
throws
php_version_not_available_on_server

        
On this page

Search results