title: file_get_contents works on Local but not on server
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/6551379/file-get-contents-error">file_get_contents() error</a>  </p>
  </blockquote>
  
  
  
  <p>Working on a script that connects to Instagram API to get photos from a certain tag. It works just fine on Local but on the server i get errors. </p>
  
  <p>Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /storage/content/91/103391/instaboll.nu/public_html/instagram.php on line 19.</p>
  
  <p>This is how line 19 looks:<br>
      $contents = file_get_contents("<a href="https://api.instagram.com/v1/tags/" rel="noreferrer">https://api.instagram.com/v1/tags/</a>$tag/media/recent?client_id=$client_id");</p>
  
  <p>Any ideas?</p>
  
  <p>Have searched for this and find some posts that recommend curl, but have no idea how to proceed with that.</p>