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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux