您好,所以我试图使用Freenom API来实现名为iForce的服务,为人们注册域名非常容易,并且我发现了这个cURL命令,但我不知道如何让PHP运行它。PHP中的cURL命令
以下是命令
curl -X GET "https://api.freenom.com/v2/domain/search.xml\
?domainname=test001.tk\
&[email protected]\
&password=68bb651cb1\
&domaintype=PAID"
如果有人能请将其转换成PHP或告诉我如何或告诉我如何使用它在PHP这将是惊人的!
非常感谢!
[用PHP执行Curl]的可能副本(http://stackoverflow.com/questions/14899037/executing-curl-with-php) –
http://php.net/manual/en/book.curl。 php –