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?
Curl Support?
Started by Lop, Jul 03 2007 06:53 AM
3 replies to this topic
#1
Posted 03 July 2007 - 06:53 AM
|
|
|
#2
Posted 04 July 2007 - 07:14 AM
ini_get( ) returns the values of configuration settings. extension_loaded( ) returns loaded extentions -- CURL is an extention :D
Should do the trick.
extension_loaded('curl')
Should do the trick.
#3
Posted 12 July 2007 - 06:41 AM
Yeah, I found the answer about 2 minutes after posting...
#4
Posted 12 July 2007 - 02:31 PM
Yeah, I always do that, whats why I don't ask questions anymore :D


Sign In
Create Account


Back to top









