That's it! I got it going. It looks like this...
#!/usr/bin/perl
########################################
## INITIALIZE CGI ######################
########################################
use CGI;
use CGI::Carp qw(fatalsToBrowser);
$cgi = new CGI;
########################################
##...
When I call this ...
#!/usr/bin/perl
use lib qw(.);
use CGI;
use CGI::Carp qw(fatalsToBrowser);
$cgi = new CGI;
print header();
print "Hello World";
exit;
... I get nothing.
Keith
I renamed the .htm to .shtml and now I get [an error occured when processing this directive] when using #include virtual, nothing with #exec cgi.
Is there any way I can call a CGI script from a webpage without using .shtml as the extention (all my files use .htm ATM)?
And, what does [an error...
I think the problem is with SSIs. I cannot get any kind of out put at all; I don't think the script is being called by the <--#exec cgi command.
Is there anything I could try?
Keith
Can anyone tell me what is wrong with this???...
#!/usr/bin/perl
########################################
## INITIALIZE CGI ######################
########################################
use lib qw(.);
use CGI;
use CGI::Carp qw(fatalsToBrowser);
$cgi = new CGI...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.