How to calulate how long it takes to download a file
<p>I have written scripts to download XML data via HTTP. I would like to record (in a database) how long it takes to download the XML file. Does PHP have a built in function for timing the length of a download?</p>
