i've recently inherited some php pages (running on an apache server) and unfortunately know very little about php. essentially one of the pages sends a file to the user in the form of:
header("Expires: Sat, 01 Jan 2000 00:00:00 GMT");
header("Cache-Control: no-cache, must-revalidate");
header ('Location: ' .$expfilename);
...or at least i expect this is some sort of php/html way to send data (although the "expires" part doesnt look right). my problem is that i've been asked to try and determine how long it takes for users to download these files and i have no idea how.
can anyone please point me in the right direction?
also is there a more efficient/cleaner/better way of sending files?