title: How to check my server's upload and download speed?
body: <p>I bought a server and I need to check it's internet connection (speed).</p>
  
  <p>Is there an easy way to do that?</p>
  
  <p>I googled but I couldn't find anything...</p>
  
  <p>I did this:</p>
  
  <pre><code>&lt;?php
  
  $link = 'http://speed.bezeqint.net/big.zip';
  $start = time();
  $size = filesize($link);
  $file = file_get_contents($link);
  $end = time();
  
  $time = $end - $start;
  
  $speed = $size / $time;
  
  echo "Server's speed is: $speed MB/s";
  
  
  ?&gt;
  </code></pre>
  
  <p>Is it correct?</p>