index be0b3f026d47f552e3a4e9f63dd130383716ef6f..edaa39d2e346b19e24aa9a099d3bfbd6793f510b 100644 (file)
return($zones);
}
+/* Simple is domain check, it checks if the given string looks like "string.string.string"
+ or string.string */
+function GetVhostsDomain($str)
+{
+ return(preg_match("/[^\.\/]+\.[^\.\/]+$/",$str));
+}
+
?>