View Full Version : cURL WONT WORK

08-20-2011, 07:34 AM
I have been at this for days. I can not get even the simplest of cURL scripts to work. I am on hostmonster.com and they have curl enabled.

curl information = libcurl/7.21.7 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5

The tech support employee from hostmosnter I spoke with said he uses curl on the server daily.

Do I have to specify some sort of file path to the curl library? Mine would be /usr/bin/curl if this is the case.

Please help :) I'm at my witts end and 3 days past a deadline.


08-20-2011, 07:45 AM
'Wont work' is such a vague term. Could you elaborate a bit more on what error you're getting? :)

08-20-2011, 09:19 AM
I am getting nothing, no html output when I print_r. Completely blank pages and no insertion into the remote database.

08-20-2011, 09:38 AM
And what does your PHP error log say? It could simply be an error further up your code. What is your code?

Check your error log.

08-20-2011, 02:36 PM
So what is the code you're using? (posted inside [php] tags naturally)

08-25-2011, 01:21 AM
Hey guys, sorry I completely forgot I posted on this forum as well. Here is a link to another forum I posted in. I answered all these questions in correspondence with phphelpme. http://forums.devnetwork.net/viewtopic.php?f=1&t=131196

Thank you all very much for your help