A gethostname() example:
<?php
echo gethostname();
?>
The gethostname() function returns the host name for the local machine.
gethostname()
Return Value: | The host name on success. FALSE on failure |
---|---|
PHP Version: | 5.3+ |
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!