radha_k Posted July 31, 2007 Share Posted July 31, 2007 How to calculate internet upload speed using php?kindly help me with the script.Thanks in Advance. Quote Link to comment Share on other sites More sharing options...
pyrodude Posted August 5, 2007 Share Posted August 5, 2007 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.