PHP 函数 gethostname
PHP 函数 gethostname
<?PHP
$var = gethostname();
IF ($var===FALSE) {
echo "The function ran but no results were returned!";
} ELSE {
echo "The function returned a value ";
echo $var;
}
?>
<?PHP
$var = gethostname();
IF ($var===FALSE) {
echo "The function ran but no results were returned!";
} ELSE {
echo "The function returned a value ";
echo $var;
}
?>