Re: ! function_exists("curl_init") BUT curl_init exists and works.

From: Date: Thu, 28 Aug 2008 09:19:31 +0000
Subject: Re: ! function_exists("curl_init") BUT curl_init exists and works.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-278865@lists.php.net to get a copy of this message
daniel danon schrieb:
! function_exists("curl_init") BUT curl_init exists and works. After my host blocked the file_get_contents and other functions, I am using CURL - but when I do function_exists("curl_init") it returns false but I can still use it.... anyone knows why?
Hi Daniel, read here: http://de3.php.net/manual/en/function.function-exists.php Where is defined the curl_init function? this ist maybe why function_exists doesnt Work as you expected. Check the curl_init() with
    *  method_exists()
* is_callable() * get_defined_functions() Regards Carlos

« previous php.general (#278865) next »