Recommended: How to improve your programming level I have the joy of success and the pain of failure, but I dare not call myself a master, because it is still far from the real masters in my mind. There are no shortcuts to becoming a master in the world, but some basic principles can be followed. 1. Solid foundation. data
ASP realizes test network speed with progress bar.
Save the following code as a .ASP file and place it on your server and run it directly.
| The following is the quoted content: <% Response.Expires = 0 Response.Expiresabsolute = Now() - 1 Response.AddHeader pragma,no-cache Response.AddHeader cache-control,private Response.CacheControl = no-cache %><html> <head> <title>Network speed test-website building-www.jzxue.com</title> <meta http-equiv=content-type content=text/html; charset=gb2312> <body style=cursor:wait;> <p style=font-size:18pt;><B>Internet speed test</B></p> <p id=t style=font-size:16pt;>Testing, please wait...</p> <span style=width:300;height:16px;background-color:gray;><span id=p style=width:0;height:16px;background-color:red;></span></span> <script language=javascript>st = new Date();function $(p){document.getElementById(t).innerHTML=Testing, please wait...( p %);document.getElementById(p).style.width=p*3;}</script> <% defaultfs = 200 'Data default size (K) minfs = 100 'Minimum value of data maxfs = 500 'Maximum value of data fs = Request(s) if len(fs) = 0 or isnumeric(fs) = false then fs = defaultfs if int(fs) > maxfs then fs = maxfs if int(fs) < minfs then fs = minfs//jzxue.com for a=1 to fs%><!--$%^)!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@ #$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^ &*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*() !@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$ %^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&* ()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@ #$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^ &*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()!@#$%^&*()--><script language=javascript>$(<%=int(a*100/fs)%>)</script><%next%> <script language=javascript> et=new Date();ds=<%=fs%>;s=Math.round(ds*1000/(et-st)*10)/10;document.body.style.cursor='default'; nextsize=<%=fs%>;if(s>100){nextsize=<%=maxfs%>;}else if(s<20){nextsize=<%=minfs%>;} document.getElementById(t).innerHTML=Test completed. Your speed: <font color='red'> s </font>(K/s) [<a href='?s= nextsize &t= Math.random() '>Retest</a>];</script>//jzxue.com </body> </html> |
Share: Wonderful: Twenty Abundant Learnings Left by ASP In the process of technological updates, there are still some people who hold on to things that are already out of breath. Some people, although they have entered a new world, still cannot get rid of the old habits. I did not use the word bad habits because I am also very disgusted with this word. New technology