我有http://www.idiotminds.com/login-with-facebook-in-codeigniter/ 但我有错误
> A PHP Error was encountered
>
> Severity: Notice
>
> Message: Use of undefined constant CURLOPT_IPRESOLVE - assumed
> 'CURLOPT_IPRESOLVE'
>
> Filename: facebook/base_facebook.php
我修复了 CURLOPT_SSL_VERIFYPEER => false, 但没有修复
但我启用了 php_curl
**
cURL support enabled
cURL Information libcurl/7.24.0 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5
**
代码
public static $CURL_OPTS = array(
CURLOPT_CONNECTTIMEOUT => 10,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 60,
CURLOPT_USERAGENT => 'facebook-php-3.2',
CURLOPT_SSL_VERIFYPEER => false
);
它仍然不起作用,请帮助我,非常感谢