一个更改 hosts 的 PHP 脚本
Libérer: 2016-07-25 08:43:28
original
903 Les gens l'ont consulté
使用方法:
- php hosts.php local # 域名将指向本机 127.0.0.1
- php hosts.php dev # 域名将指向开发机 192.168.1.100
- php hosts.php # 删除域名的 hosts 配置
复制代码
|
hosts, PHP
Déclaration de ce site Web
Le contenu de cet article est volontairement contribué par les internautes et les droits d'auteur appartiennent à l'auteur original. Ce site n'assume aucune responsabilité légale correspondante. Si vous trouvez un contenu suspecté de plagiat ou de contrefaçon, veuillez contacter admin@php.cn
Derniers articles par auteur
-
2024-10-09 22:27:01
-
2024-10-09 20:15:31
-
2024-10-09 16:42:41
-
2024-10-09 16:12:01
-
2024-10-09 13:33:51
-
2024-10-09 12:27:11
-
2024-10-09 12:00:03
-
2024-10-09 11:03:31
-
2024-09-20 15:51:33
-
2024-09-20 15:47:32