PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
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
Last edited by neel_basu on Sat Dec 30, 2006 10:40 am, edited 1 time in total.
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.
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?
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.
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
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.