A gentlemen answered me on a different forum with this. I am trying to time a web page download. Does anyone have an example of this code in use:
There are many many approaches to this problem, this is probably the simplest:
- store start time
- fopen() the file
- output apropriate headers
- fpassthru() the file
- subtract the start time from the current time
- store the time result somewhere apropriate
Omnipotus's code is half logical,
My logic is half coded.