don't forget that unix ping goes on forever, use -c <number of pings> to
limit it (4 is goot)

On Thu, Jan 30, 2003 at 08:33:36AM -0600, Mike Blezien wrote:
> 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]

-- 
Mat Harris                      OpenGPG Public Key ID: C37D57D9
[EMAIL PROTECTED]        www.genestate.com       

Attachment: msg07475/pgp00000.pgp
Description: PGP signature

Reply via email to