Page 4 of 5
Posted: Sat Dec 30, 2006 7:02 am
by neel_basu
Z3RO21 wrote:neel_basu wrote:I Have Told It Before That Dont do it On Your localhost
They are not testing on localhost but remote host just as I did. My results were about the same.
Its Imposible Cause Today Morning I Tested It
I Put It On My Computer And I Went To Cafe I Just Log to http://My_Ip/spd1/spd.php
And It Gived The Same result As The
http://www.bandwidthplace.com/speedtest/
And Look If You Test It In Your PC That Test Doesn't Depends Upon Your Internet Connection at all
If You Have Your Server Connected With LAN That Also Doesn't Depend Upon Your Inmternet Connection at all
If You Turn Off Your Net Connection Then Also You Can Test It
Posted: Sat Dec 30, 2006 8:15 am
by RobertGonzalez
Results from your server (for the record, we all tested this from your server the last round as far as I know - at least I did):
Your Current Bandwidth is:
59.20kbps
That Means You Can Download At 7.4 KB/sec. FROM THIS SITE.
Results from Speakeasy:
1214 Kbps down
317 Kbps up
CNet
1130.2 KBPS
Notice any inconsistencies? You keep beating a dead horse with this. I am almost certain no one here is going to accept your server processing speed test as a connection speed test as it has failed every logic test and performance test that we have thrown at it.
We have also successfully managed to distort the original poster's perception of the ability to check bandwidth using a server to push data downstream. I think this is enough already. We are all fairly certain that your script does not do what the original poster wants to do.
Posted: Sat Dec 30, 2006 12:19 pm
by volka
The argument was that since it only measures the time it takes to push the output to some buffer the script will always show stupendously high values. But now it indicates a smaller capacity. How does that fit? Simple. The dialup/cable/dsl connection of neel_basu has no more upload capacity than ~7.x KB/s and the script is in fact working - because there is no buffer of significant size between the sender(/php script) and the receiver. If you turn off (or haven't turned on in the first place) any buffers then php is really almost streaming the data directly to the client. Functions like readfile, passthru, even echo will not return until the last data bucket is sent and with no buffers active and a large enough chunk of data that will almost be the time when the client receives the last data (more or less, but that's the reason for "a large enough chunk of data").
But buffers often are active. And we are not always able to control them (or shut them off). And that's the reason why this server-side script is of not much good. Esp. when it is so simple to test it client-side. Did you take a look at
http://www.bandwidthplace.com/speedtest/ and how simple the script is?
http://www.bandwidthplace.com/speedtest/idt4.php wrote:Code: Select all
[...]
<script language="JavaScript">
<!--
function RightNow()
{
time = new Date();
return time.getTime();
}
function CalculateSpeed(timeStart)
{
timeEnd = RightNow();
timeElapsed = (timeEnd - timeStart)/1000 - 0.15;
kbytes = 1024/timeElapsed;
bits = kbytes * 1024 * 8;
document.forms[0].bps.value = bits;
document.forms[0].submit();
}
//-->
</script>
[...]
<script language="JavaScript">
<!--
timeStart = RightNow();
//-->
</script>
<IMG SRC="http://s159804597.onlinehome.us/images/1024.6.jpg?a=9jmar3p2vc3h0.81056200+1167502545" WIDTH="30" HEIGHT="30" ONLOAD="CalculateSpeed(timeStart);" style="z-index: 1">
[...]
That's all it takes, thanks to the onload event.
Posted: Sat Dec 30, 2006 11:02 pm
by neel_basu
volka wrote:Simple. The dialup/cable/dsl connection of neel_basu has no more upload capacity than ~7.x KB/s
Ya My Maximum upload speed is ~7 KB/s
Its working very well.
Posted: Fri Feb 23, 2007 3:19 am
by dharprog
Hi
Mr.Neel has made a good programme really. I tested it and Its working very well.
here is the link to test :
http://www.indoservices.org/skillbound/spd.php
Thank You very much.
Posted: Thu May 03, 2007 8:05 am
by Zu
Your Current Bandwidth is:
256.00 Mbps
That Means You Can Download At 32768 KB/sec. FROM THIS SITE.
Perform a New Test
It would appear my ISP upgraded my connection speed by 97%. How kind of them.
Posted: Thu May 03, 2007 11:11 am
by neel_basu
Zu wrote:Your Current Bandwidth is:
256.00 Mbps
That Means You Can Download At 32768 KB/sec. FROM THIS SITE.
Perform a New Test
It would appear my ISP upgraded my connection speed by 97%. How kind of them.
You are either testing it on localhost or testing it in such a place where No internet connection is required to test It.Please test it where dharprog has uploaded it
http://www.indoservices.org/skillbound/spd.php
-----------------------------------------------------------------------
It is not possible that
http://www.indoservices.org/skillbound/spd.php is showing you that Result.
Posted: Thu May 03, 2007 12:50 pm
by Zu
Posted: Thu May 03, 2007 1:01 pm
by nickvd
So how much more proof do you require that your solution is faulty?
It's been dis-proven by so many people, for so many reasons.... It's starting to get on my nerves...
Posted: Thu May 03, 2007 1:02 pm
by neel_basu
haha
Oh! I see Nice mischief you have directly Entered into
http://www.indoservices.org/skillbound/ ... bps=262144
Not
http://www.indoservices.org/skillbound/spd.php
As No server gives you Static speed your speed changes Time to time .
so before writting this post you tested and got a speed and now you tested and got the Same speed.
And 1 funny thing I have to tell you the script is not hosted in my site and according to the configuration of that script in that Server its Impossible to show you 256 MBPS speed
Posted: Thu May 03, 2007 1:05 pm
by nickvd
and yet it does... how interesting....
Faulty script perhaps???
Posted: Thu May 03, 2007 1:09 pm
by neel_basu
No Not at all.
this script is not for copy paste only.
and I think nobody posts any scripts here just for Copy paste
Its an example how speed testing can be done. and to make it understandable easily its like that . and what can I do if he just Copy paste My Code I've nothing to do.
Posted: Thu May 03, 2007 1:25 pm
by nickvd
Well, I'm done with this topic... It doesn't work as you think it does, nor will it ever...
Good luck in life...
Posted: Thu May 03, 2007 1:42 pm
by Zu
Apart from the fact that, you know, it redirects you

.
Posted: Thu May 03, 2007 1:52 pm
by RobertGonzalez
That's awesome. I didn't know you could do that. Check this out:
Code: Select all
Your Current Bandwidth is:
571861092371.67 Mbps
That Means You Can Download At 7.31982198236E+13 KB/sec. FROM THIS SITE.
http://www.indoservices.org/skillbound/ ... 5758588587