title: Testing website bandwidth
body: <p>I would like to make a script that boosts my website's bandwidth to check the monthly allowance is working correctly.</p>
  
  <pre><code>&lt;?php
  for($i=0;$i&gt;2000$i++) {
    //largest jpg on the website
    file_put_contents("tmp.jpg", file_get_contents("http://someurl/tmp.jpg"));
    unlink("tmp.jpg");
  }
  ?&gt;
  </code></pre>
  
  <p>Would the above code work in the way I would like it too or because it's the same file, does the server not 'download' it again?</p>