Get a file from a URL
<pre><code>$vars='https://www.googleapis.com/latitude/v1/currentLocation?key=AIzaSyB2hw658V7RSzEYgwSHwYkaLm_505gqLhs';
$content = file_get_contents( $vars );
</code></pre>

<p>I am using this function for retrieving a file from a url but <code>file_get_contents()</code> is not working. Please suggest me a function for the same work.</p>
