title: Making a website like pingdom - how is it programmed?
body: <p>I am a PHP programmer. I want too write a class that can calculate a website times:</p>
  
  <ul>
  <li>Lookup DNS</li>
  <li>Connect</li>
  <li>Send the request</li>
  <li>Wait for response</li>
  <li>Receive response</li>
  <li>Loading time</li>
  </ul>
  
  <p>How can I make a website like Pingdom? What PHP functions can do this for me?</p>