I don't know the specifics of uploading files through php, but getting at least an average speed should be simple. At the top of your upload file script (the one that your form posts to) place something to start a timer. At the bottom of that file, place something that will conclude the timer (when the page is fully loaded). Then, simply divide the file size by the time it took to upload it.