如何使用 php 脚本在 cpanle(API) 中添加具有另一个服务器 IP 的子域

发布于 2024-11-26 09:30:24 字数 74 浏览 1 评论 0原文

我有一个cpanel帐户。我想在 php 脚本的帮助下添加一个具有 ip 的子域(它指向另一个服务器)。

有人知道吗?

I have a cpanel account. I wants to add a subdomain having ip (it points to another server) with the help of php script.

does any one have any idea?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

何以心动 2024-12-03 09:30:24

首先,您应该获取 PHP 的 XML-Api 包装器 - 它使事情变得更加容易。

然后检查 API 参考以获取您需要的方法。

Well first you should grab the XML-Api wrapper for php - it makes things a lot easier.

Then check the api reference for the methods you'll need.

护你周全 2024-12-03 09:30:24

http://docs.cpanel.net 是 cpanel api 的官方文档。不幸的是,出行确实很困难,至少对我来说是这样。

不过,您需要自己阅读 api,因为我知道您的问题没有实现。

http://docs.cpanel.net is the official documentation for the cpanel api. Unfortunately, it really is hard to get around, at least for me it was.

You will need to read up on the api yourself though since I know of no implementation of your issue.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文