Posted by:
dslider0401
(---.lightspeed.chtnsc.sbcglobal.net)
After some more troubleshooting, CURL works but doesnt seem to work on the site I need it too.... below is some example code
<?php
$ch = curl_init("[
www.homedepot.com]
;
$fp = fopen("homeDepot_homepage.txt", "w"
;
curl_setopt($ch, CURLOPT_FILE, $fp);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_exec($ch);
if(curl_error($ch)) {
fwrite($fp, curl_error($ch));
}
curl_close($ch);
fclose($fp);
?>
I get -- "SSL certificate problem: unable to get local issuer certificate"