...

View Full Version : cURL WONT WORK



puma10
08-20-2011, 06: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.

Thanks,

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

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

BluePanther
08-20-2011, 08: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.

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

puma10
08-25-2011, 12: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



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum