为什么 authorize.net 个库需要 curl?

Why do we need curl for authorize.net libraries?

我想将 authorize.net API 集成到我的 CodeIgniter 项目中,经过一番研究,我在 Github 上找到了一个名为 SammyK/codeigniter-authorize.net-aim-api 的库。这个库需要使用 curl.

据我所知,curl 是您在 PHP.INI 上打开的库,所以我是否已将其作为软件包安装在 [=26= 上] 机器?它是干什么用的?有没有其他库更适合 Authorize.net API?

so do I have install that as package on Linux machine ?

您还可以在 windows - http://curl.haxx.se/download.html 中安装 curl,并且您也可以在 windows 中加载 php-curl 模块。

到达c:\php\php.ini (it can be different path in your computer) and uncomment

;extension=php_curl.dll

What is the use ?

CURL 是一个命令行工具,用于使用 URL 语法获取或发送文件。支持以下协议 HTTP, HTTPS, FTP, FTPS, SCP, SFTP, TFTP, LDAP, LDAPS, DICT, TELNET, FILE, IMAP, POP3 、SMTP 和 RTSP(最后四个仅在 7.20.0 或 2010 年 2 月 9 日之后的版本中)。

参考:http://en.wikipedia.org/wiki/CURL

any library better work for Authorize.net API ?

https://github.com/AuthorizeNet/sdk-php