The content will not load from the file, here is my curl code,
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
// GET CONTENTS OF HASHES.TXT
curl_setopt($curl, CURLOPT_URL, 'http://xxx.com/api/x.txt');
// SUCCESSFULY OPENED HASHES.TXT
$file = curl_exec($curl);
echo $file; // RETURNS NOTHING
echo curl_error($curl); // COULDN'T CONNECT TO HOST
echo curl_getinfo($curl, CURLINFO_HTTP_CODE); // 0
The curl is working as I have previously opened other webpages further up the script,
Thanks