> > I've got the below script saved on my server - but every time
> > I use it I get an Internel Server Error! I've set the
> > permission to 755 but still no luck. Any ideas folks?
> >
> > www.klconsulting.co.uk/cgi-bin/cssc.pl
> >
> >
> If you run it in abrowser:
> 1) is it execuatbale
> I've got the below script saved on my server - but every time
> I use it I get an Internel Server Error! I've set the
> permission to 755 but still no luck. Any ideas folks?
>
> www.klconsulting.co.uk/cgi-bin/cssc.pl
>
>
If you run it in abrowser:
1) is it execuatbale?
2) is
"Mr. W. A. Khushil Dep" wrote:
> I've got the below script saved on my server - but every time I use it I
> get an Internel Server Error! I've set the permission to 755 but still
> no
> luck. Any ideas folks?
>
> www.klconsulting.co.uk/cgi-bin/cssc.pl
>
> #!/usr/bin/perl
> use Net::Ping;
>
> @host
"Mr. W. A. Khushil Dep" wrote:
>
> I've got the below script saved on my server - but every time I use it I
> get an Internel Server Error! I've set the permission to 755 but still
> no
> luck. Any ideas folks?
>
> www.klconsulting.co.uk/cgi-bin/cssc.pl
>
> #!/usr/bin/perl
> use Net::Ping;
>
>
> I've got the below script saved on my server - but every time I use it I
> get an Internel Server Error! I've set the permission to 755 but still no
> luck. Any ideas folks?
First of all, make your life easier with
use strict;
use warnings;
right after the shebang line.
Second of all, the si
Your script is erroring out for some reason, and it might be because you
never defined $my_addr.
$p->bind($my_addr) Sets the source address from which pings will be
sent. This must be the address of one of the interfaces on the local
host. $my_addr may be specified as a hostname or as a text IP ad