Jump to content


Photo

Pinging / Ping results


  • Please log in to reply
1 reply to this topic

#1 Hardbyte

Hardbyte
  • Members
  • PipPipPip
  • Advanced Member
  • 30 posts
  • LocationMidlands, UK

Posted 28 February 2006 - 01:27 PM

www.uniquesyntax.co.uk / www.uniquesyntax.com

Anyone got a script that can ping a domain name and show the results on the site? I prob can do something with the results, just cant find a script to ping.

#2 fanaticwebservice

fanaticwebservice
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 01 May 2008 - 07:15 PM

whay don;t you try the

exec('ping -c5 hotname.com', $results);

and you can get the output from as array in $results




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users