Page 1 of 1

Anyone know how to test and verify CURL functions?

Posted: Thu Dec 02, 2004 1:24 pm
by daytonadman
I have been trying to execute a script for some time now and don't seem to be making any progress. I believe that curl is not properly installed or configured on my current webhosting servers. Does anyone know a way to test and verify that the curl functions are indeed installed and working properly?

Thanks! 8)

Posted: Thu Dec 02, 2004 3:44 pm
by lostboy
If its mis-installed, then you should get an error...are you using the error checking in curl?

Posted: Thu Dec 02, 2004 4:14 pm
by rehfeld
yeah, you will get undefined function errors if its not available

if you turned error_reporting off, turn it back on so you can see.

Posted: Thu Dec 02, 2004 10:30 pm
by irishmike2004
you can always test CURL by typing curl -d "http://somewebsite.com" and it should display a webpage in your terminal window, you then know it works :-)

Posted: Fri Dec 03, 2004 8:27 am
by daytonadman
I had been getting an internal server error. Very strange, I ran the script this morning and it seems to work. I'll get back to you all, thanks for the responses! 8)