$SERVER_NAME = $_SERVER['SERVER_NAME'];
preg_match('/(.*\.)?\w+\.\w+$/', $SERVER_NAME, $matches);
if (!empty($matches[1])) {
$domain_url = trim($matches[1], '.');
} else {
$domain_url = '';
}
$SERVER_NAME = $_SERVER['SERVER_NAME'];
preg_match('/(.*\.)?\w+\.\w+$/', $SERVER_NAME, $matches);
if (!empty($matches[1])) {
$domain_url = trim($matches[1], '.');
} else {
$domain_url = '';
}
$fileContent = trim($fileContent); $fileContent=$queueList->characet($fileContent);