denechtew Posted August 14, 2007 Share Posted August 14, 2007 Hello, i made a upload script with help of you guys, but now I want to test how fast the speed is. Can I do this with HTML or do I need ajax I don't know anything about ajax etc... I'm a beginner php. Can someone help? Thank you. Quote Link to comment https://forums.phpfreaks.com/topic/64860-php-upload-speed/ Share on other sites More sharing options...
NArc0t1c Posted August 14, 2007 Share Posted August 14, 2007 Time divided by size equations. Ajax is not needed. Read about the upload speeds of internet connections, then make equations based on that. Quote Link to comment https://forums.phpfreaks.com/topic/64860-php-upload-speed/#findComment-323622 Share on other sites More sharing options...
denechtew Posted August 14, 2007 Author Share Posted August 14, 2007 I'm not smart enough to made that, can you help me? I will learn. Quote Link to comment https://forums.phpfreaks.com/topic/64860-php-upload-speed/#findComment-323632 Share on other sites More sharing options...
NArc0t1c Posted August 14, 2007 Share Posted August 14, 2007 PHP Freelancing Quote Link to comment https://forums.phpfreaks.com/topic/64860-php-upload-speed/#findComment-323633 Share on other sites More sharing options...
wildteen88 Posted August 14, 2007 Share Posted August 14, 2007 I'm not smart enough to made that, can you help me? I will learn. Most upload speeds are usually a 10th of total download speed, some maybe more. It depends on the ISP and how they serve the download/upload ratio. For example say a user has 1Mb broadband connection. Note Mb stands for megabit not megabyte, a megabit is 1024 bits. This will allow the user to download at around 120KB (kilobytes) per second maximum (Kb / 8 = Kilobytes). Now take a 10th of their download speed and you'll get their maximum upload speed, which will be around 12KB per second. You can then use this max upload speed as a guide. To do this you'll convert the file size of the uploaded file in to Kilobytes and divide the filesize by their upload speed, eg 3072KB divide by 12Kb = 256 seconds (or ~4.5 minutes). Quote Link to comment https://forums.phpfreaks.com/topic/64860-php-upload-speed/#findComment-323801 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.