Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想创建 php 脚本,女巫将能够在 DirectAdmin 中创建用户,因为这是命令 /CMD_API_ACCOUNT_USER:
/CMD_API_ACCOUNT_USER
`MyServer.com:2222/CMD_API_ACCOUNT_USER?action=create&add=submit....`
但是,theresseler(admin) 必须登录。我不知道该怎么做,请建议使用什么登录:
socket,curl或者别的什么。
socket
curl
DA 使用 HTTP 基本身份验证来登录您的帐户。
这里是官方文档 https://www.directadmin.com/api.php