-1

如何停放多个域,然后检测从 php 调用的域?就像停车域服务一样。我想写类似的脚本。

编辑:我不确定为什么有人在这里投票结束我的问题:|

4

1 回答 1

3

To get the domain you're currently visiting with php, you can use $_SERVER['SERVER_NAME'].

Your question about bulk registration depends on your domain registrar and whether they do provide an API. If they do, documentation and help should be available from them.

于 2012-11-05T19:17:24.430 回答