Send Ping

Discussion in 'PHP' started by Andreit, Mar 9, 2010.

  1. #1
    Hi!

    How do send ping with php?
     
    Andreit, Mar 9, 2010 IP
  2. rocoso

    rocoso Member

    Messages:
    27
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #2
    Something like this should do it

    shell_exec('ping someipaddress.com');
     
    rocoso, Mar 9, 2010 IP
  3. Andreit

    Andreit Greenhorn

    Messages:
    27
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #3
    thanks rocoso!
     
    Andreit, Mar 10, 2010 IP