This is a follow up question to get some assistance with error reporting for a CURL Request.
Here is the previous question:
Here is my CURL script:
$url = "http://download.finance.yahoo.com/d/quotes.csv?s=AAWW+ATTU+CJES+CLRO&f=sd1noghl1vpt7t8erdjka2j4j1m3m4w1ba";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$var = curl_exec($ch);
print 'CURL RESPONSE: <textarea cols=100 rows=25>'.$var.'</textarea>'; die ("at stockPull stop point");
I have gotten this script to work on one server but it doesn't work on a different server that has php configured slightly differently. So I need to find out what about the one server isn't working. I'm having a hard time finding the errors.