Use of undefined constant CURLOPT_IPRESOLVE – assumed 'CURLOPT_IPRESOLVE'-Collection of common programming errors
i have http://www.idiotminds.com/login-with-facebook-in-codeigniter/ but i have error
> A PHP Error was encountered
>
> Severity: Notice
>
> Message: Use of undefined constant CURLOPT_IPRESOLVE - assumed
> 'CURLOPT_IPRESOLVE'
>
> Filename: facebook/base_facebook.php
and i fix CURLOPT_SSL_VERIFYPEER => false, but not fixed
but i have enable the php_curl
**
cURL support enabled
cURL Information libcurl/7.24.0 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5
**
code
public static $CURL_OPTS = array(
CURLOPT_CONNECTTIMEOUT => 10,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 60,
CURLOPT_USERAGENT => 'facebook-php-3.2',
CURLOPT_SSL_VERIFYPEER => false
);
it still not work help me please BIG THANKS