Is there a way to determine if Curl support has been compiled with PHP from inside of a PHP script?
My first thoughts were to use ini_get functions but I can't find anything relevant to Curl. Any help?
ini_get( ) returns the values of configuration settings. extension_loaded( ) returns loaded extentions -- CURL is an extention
Should do the trick.Code:extension_loaded('curl')
Yeah, I found the answer about 2 minutes after posting...
Yeah, I always do that, whats why I don't ask questions anymore![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks