Is there a JavaScript way to do file_get_contents()?
<p>Here is the <a href="http://php.net/manual/en/function.file-get-contents.php" rel="nofollow">PHP documentation</a></p>

<p>Here is how I would use it in an Ajax call, if I don't find a pure client way to do this.</p>

<pre><code>$homepage = file_get_contents('http://www.example.com/');
echo $homepage;
</code></pre>

<p>Is there way to do this client side instead so I don't have to ajax the string over?</p>
