【问题标题】:Why do we need curl for authorize.net libraries?为什么我们需要 curl 用于 authorize.net 库?
【发布时间】:2015-02-25 06:26:51
【问题描述】:

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

据我所知,curl 是您在 PHP.INI 上打开的库,所以我是否已将它作为包安装在 linux 机器上?这有什么用途?是否有任何其他库更适合 Authorize.net API?

【问题讨论】:

    标签: php codeigniter curl authorize.net


    【解决方案1】:

    那么我是否将它作为包安装在 Linux 机器上?

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

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

    ;extension=php_curl.dll
    

    有什么用?

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

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

    任何库更适合 Authorize.net API 吗?

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

    【讨论】:

      猜你喜欢
      • 2019-06-09
      • 1970-01-01
      • 1970-01-01
      • 2014-06-18
      • 2017-02-26
      • 2011-04-03
      • 2017-07-27
      • 2020-09-21
      • 2020-03-09
      相关资源
      最近更新 更多