| |||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | #1 (permalink) |
| NamePros Member | Browser based ping In order to show the benefits of a hosting company which has servers on fast connections in the UK (its intented client base) I would like a script that would allow the user to enter a URL and ping the server, pretty much exactly as you would do through command promt, except a (non savy) people-friendly version on a website. It is important that the URL is pinged from the users computer, otherwise the exercise is pointless. Any suggestions? |
| |
| | #2 (permalink) |
| Senior Member | you can use php to execute the ping exe and it should print out the results http://www.ahfb2000.com/php-scripts/view.php?num=47 maybe this will help |
| |
| | #3 (permalink) |
| NamePros Member | Thanks Adam, unfortunatly it seems to ping from texas somewhere - though the hosting site does come through faster than one of its uk competitors who's servers are based in the states - the ping timed out for them. Ah well it was a nice idea and thanks for looking |
| |
| | #6 (permalink) | |
| Senior Member | Quote:
you wouldnt be able to do a ping from a user pc incase they are behind a router or firewall that doesnt allow ping requests and you wouldnt be able to get access to the ping exe file the ping may actually even be slower if it was to work from there connection to the server if they are downloading Last edited by adam_uk; 05-06-2004 at 10:22 AM. | |
| |
| | #7 (permalink) |
| NamePros Member | I appreciate that you have told me it is not really possible/practical to set up a ping from a users computer to the hosting company's server. But there probably isn't a lot of point setting up a ping from the server to the server? Isn't it at least slightly dishonest for us show the speed of the servers by doing that? |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |