[PHP] Re: ping...

2002-12-13 Thread Paul Chvostek
On Fri, Dec 13, 2002 at 10:02:54AM -, Brian McGarvie wrote: I can exec ping OK... but I need a way to ping and basically give me a OK or Not OK... any ideas? This isn't really a PHP question, since ping is a command in the OS and not in PHP itself. And of course, you didn't mention what

[PHP] Re: Ping on Win32

2002-12-04 Thread Christopher J. Crane
This is the output I get and you can see that on the lines where the loss is 0% it still says 100% 1 - Pinging 10.200.26.1 with 32 bytes of data: 2 - Request timed out. 3 - Ping statistics for 10.200.26.1: 4 - Packets: Sent = 1, Received = 0, Lost = 1 (100% loss), 100% loss 5 - Approximate round

Re: [PHP] Re: Ping on Win32

2002-12-04 Thread Jason Wong
On Thursday 05 December 2002 04:08, Christopher J. Crane wrote: This is the output I get and you can see that on the lines where the loss is 0% it still says 100% if($Results2 = 100% loss) { print font Try if ($Results2 == 100% loss) -- Jason Wong - Gremlins Associates -

Re: [PHP] Re: Ping on Win32

2002-12-04 Thread Christopher J. Crane
Oh man...it's always the simple things you over look...thank you. Jason Wong [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Thursday 05 December 2002 04:08, Christopher J. Crane wrote: This is the output I get and you can see that on the lines where the loss