Bad PHP script for downloading
<p>I have a easy script:</p>

<pre><code>  $url=file_get_contents($_GET['url']);
  $name=$_GET['name'];
  file_put_contents('temp.'.$_GET['ext'],$url);
</code></pre>

<p>It is script for downloading file by http. But file is so big (~10 Mb), and script stops with message:</p>

<p>"Fatal error: Maximum execution time of 30 seconds exceeded"</p>

<p>On my local server I can edit php.ini and set 300 seconds, but I can't do it on server on Internet. How can I do my task without editing php.ini? Give me example of code please, thank you. </p>
