![]() |
Testing for fopen and cURL
I'd like to be able to test if a site has fopen on and cURL installed. Testing for fopen seems simple enough but how can I test for cURL? Do I need to do phpinfo and search the results cURL? What is phpinfo is not allowed?
Basic code structure: PHP Code:
|
PHP Code:
|
Or check if one of the predefined constants exists, e.g. CURLOPT_FILE
A full list can be found here as well as the list of functions. http://uk.php.net/curl |
Thanks!
|
All times are GMT. The time now is 05:02 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|