title: Warning: implode(): Invalid arguments passed at load page
body: <p>My script load a title of url when this load by php_self in a html form.</p>
  
  <pre><code>&lt;?php
  $bk_url=$_REQUEST['bk_url']; 
  $remote_url = $bk_url;
  $from_remote_url = implode("", file("".$remote_url));
  if(preg_match("/&lt;title&gt;(.+)&lt;\/title&gt;/", $from_remote_url, $regs)) {
  } else {
  echo "&lt;br&gt; Title empty. Manual insert";
  }
  ?&gt;
  </code></pre>
  
  <p>When load the php page, are displayed two errors:</p>
  
  <blockquote>
    <p>Warning: file(http://): failed to open stream: operation failed</p>
  </blockquote>
  
  <p>and this error:</p>
  
  <blockquote>
    <p>Warning: implode(): Invalid arguments passed </p>
  </blockquote>
  
  <p>I have try to find a solution on stackoverflow but not find any solution.</p>
  
  <p>How to fix this two errors?
  Thanks</p>