一个更改 hosts 的 PHP 脚本
Lepaskan: 2016-07-25 08:43:28
asal
902 orang telah melayarinya
使用方法:
- php hosts.php local # 域名将指向本机 127.0.0.1
- php hosts.php dev # 域名将指向开发机 192.168.1.100
- php hosts.php # 删除域名的 hosts 配置
复制代码
|
hosts, PHP
Kenyataan Laman Web ini
Kandungan artikel ini disumbangkan secara sukarela oleh netizen, dan hak cipta adalah milik pengarang asal. Laman web ini tidak memikul tanggungjawab undang-undang yang sepadan. Jika anda menemui sebarang kandungan yang disyaki plagiarisme atau pelanggaran, sila hubungi admin@php.cn
Artikel terbaru oleh pengarang
-
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
Topik-topik yang berkaitan
Lagi>