Kista Tucker wrote:
Hi all,
Ok, I'm still a newbie (hopefully, someday I'll be past this stage), so
don't get too upset and also, if you can provide some assistance, I guess
you'll have to give a step by step description from a beginner's point of
view.
The question: How can I check to be sure cURL is enabled?
I'm on a MacBookPro running OS X 10.4.11. My PHP version is 5.1.4.
Apache is version 1.3.33
Let me know if you need more information.
Kista
call curl_init() from any php script and see if it works. If it reports and
unknown function, then you don't have cUrl. If it works, then you have curl.
From the manual:
Description
resource curl_init ([ string $url ] )
Initializes a new session and return a cURL handle for use with the
curl_setopt(), curl_exec(), and curl_close() functions.
--
Jim Lucas
"Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them."
Twelfth Night, Act II, Scene V
by William Shakespeare
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php