Want to add ping and traceroot to my web page
Results 1 to 2 of 2

Thread: Want to add ping and traceroot to my web page

  1. #1
    IT Specialist Ghost_25inf's Avatar
    Join Date
    Sep 2001
    Location
    Michigan
    Posts
    648

    Question Want to add ping and traceroot to my web page

    Hello

    I have a web page I made to act as a do everything page. I want to add Ping and traceroot to it just like I have the google bar. any suggestions?

    www.jasnetworks.net/gmurray

    tried to google it but couldnt find info I was looking for, maybe I wasnt typing in the right info. hum...
    S25vd2xlZGdlIGlzIHBvd2VyIQ

  2. #2
    Banned
    Join Date
    Nov 2005
    Posts
    63
    server side pinging, you'd have to pass in a host, pretty it up, and you'd have to lock this script down by filtering the host string using preg_grep or whatever. it gets the job done though.
    Code:
    <?php
    	echo exec('ping $_GET['host']');
    ?>
    traceroute would be interchanging the word ping for tracert, pretty simple.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •