51
51
$this->msg = "Only letters, numbers and hyphens (-) are valid!";
55
55
if (preg_match("/^([A-Za-z0-9]+(\-?[A-za-z0-9]*)){2,63}$/", $this->domain)) {
63
56
$this->domain = strtolower($this->domain);
64
57
$this->compl_domain = $this->domain.".".$this->tld;