The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
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:
|
#2
|
||||
|
||||
PHP Code:
|
#3
|
||||
|
||||
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 |
#4
|
||||
|
||||
Thanks!
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|