title: Get content of file is working on localhost but not online
body: <p>I have an url which downloads an SQL File with SQL queries on a distant server, in localhost I use</p>
  
  <pre><code>&lt;?php 
     $fic = file($distantURL);
     foreach($fic as $line_num =&gt; $line)
     {
       $pdo-&gt;query($line);
     }
  ?&gt;
  </code></pre>
  
  <p>And it's working like a charm, but when I use this on a server <code>file($distantURL)</code> is returning <code>FALSE</code>, I tried <code>readfile()</code>, <code>file_get_contents()</code> <code>cURL</code>, etc... but it's returning FALSE nothing is working. </p>
  
  <p>Maybe I should download the file on my server, find where is the downloaded file, read on it, and after updates delete it ?</p>
  
  <p>E: My link is generating the file for update with parameters, I can't have this update file without the distant URL</p>