作者:赵丶宇森 | 来源:互联网 | 2018-03-22 15:37
在开发项目的过程中绑定的域名过多的时候,难免会忘记一些,这个脚本就是列出这些hosts,可以加入到localhost的默认页面中
===hosts=============
', $hosts);
$hosts = preg_replace('/([^ | rn | t]+)/', '${1}', $hosts);
echo ($hosts);
}
?>
=====================