Hello all,

trying to put together a simple 'ping' display via the browser... and not having any luck... how does one get the results of a ping to diplay the results properly ??

Sample code:
=======================================
#!/usr/bin/perl
use CGI qw(:standard);
use strict;

my $pingcommand = '/bin/ping';
my $host = 'www.yahoo.com';
my $Display = `$pingcommand $host`;

print header();
print qq~$Display~;


Doesn't seem to work. ??

TIA
--
Mike<mickalo>Blezien
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Thunder Rain Internet Publishing
Providing Internet Solutions that work!
http://www.thunder-rain.com
Tel: 1(985)902-8484
MSN: [EMAIL PROTECTED]
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to