rich1334
rich1334

Reputation: 39

Showing visitors ping to certain server on website?

I'm interested to know as to how http://plugpayplay.com/gameservers.php (on that page) shows the visitor their average ping to the servers listed.

How would a similar system work?

Regards.

Upvotes: 1

Views: 335

Answers (1)

ficuscr
ficuscr

Reputation: 7054

Did you look at the source of the page?

<script type="text/javascript" language="Javascript"> ping('l0','193.0.159.140',1); </script>

http://plugpayplay.com/js/ping.js (Note: possible copyrights?)

Only PHP, would be to get the remote IP plugged in I think.

Upvotes: 2

Related Questions