Page 1 of 1

curl support

PostPosted: 14. July 2009 18:02
by josephmo
I am trying to use curl, and here's the response I"m getting to my curl_init call from xampp:

Fatal error: Call to undefined function curl_init() in C:\xampp\htdocs\includes\EmptyPHP.php on line 9

In addition, calls to file_get_contents get me similar responses from xampp

If I FTP to my linux server, the PHP code runs fine. Ideas are appreciated.

Re: curl support

PostPosted: 14. July 2009 18:17
by Wiedmann
In addition, calls to file_get_contents get me similar responses from xampp

Not really possible, because file_get_contents() is a internal function and allways available.

Fatal error: Call to undefined function curl_init()

You have enabled the curl extension in "php.ini"?

Re: curl support

PostPosted: 14. July 2009 18:33
by josephmo
the option for curl in php.ini was disabled. Thank you. I still have to figure out why I'm getting the error message for file_...