Gossamer Forum
Home : General : Chit Chat :

CGI ping script?

Quote Reply
CGI ping script?
Hello people,

does anyone know how to get a CGI ping script to work on a web site.
I've created the file in Shell script (see below). And i've put the file (ping.sh) in the (cgi-bin) folder. How do i call the script so that it shows the results on a web page?

regards,
sally

---------------------------
#!/bin/sh

Ping www.yahoo.com
Echo
--------------------------

Quote Reply
Re: [go09] CGI ping script? In reply to
Well the idea behind shell scripts is that they run from the shell :)

You may want to search cpan.org for Net::Ping

Also the perl forum would have been more suited to your question.