such as http, ftp.
anybody knows this? thank you!
such as http, ftp.
anybody knows this? thank you!
um, i don't know if it's possible :S never tried... course anything is possible i've heard of it being done in j.s. but i'm not sure how accurate it is... maybe search google for bandwidth speed test source or something to that effect...
aha let me try it.
but I want to use "ping" to get connection speed with php,
does it is possible?
by the way, who can decode this?
Sure it is. Check out this script that uses traceroute, ping, dig, and other network related tools.
I downloaded a PHP script that did this once! Forget where I downloaded it tho, sorry! Maybe check hotscripts.
by the way, who can decode this?
ok here is the concept
see all that junk... its just to take up space
<script LANGUAGE="javascript">
<!--
time = new Date();
starttime = time.getTime();
// --></SCRIPT>
get to the browser first.. and is executed as soon as it gets there...
then it has to wait for all the junk to transfer
then it runs
<script><!--
time = new Date();
endtime = time.getTime();
...
...
depending on the browser you use this may be the case ( starttime gets set before endtime even gets sent to the browser )
so it is a good trick at judging download speed for the random section
thks all above
I got it
http://www.Planet-Source-Code.com/vb/scripts/ShowCode.asp?txtCodeId=919&lngWId=8