Hi all,
I have a cgi prog that complains about uninitialized values when I use the -w switch.
To avoid those errors I have done stuff like this:
---
# Up near the top with a bunch of other defs and the main prog...
my @init_array = ("","
Hi all,
I've been working on a couple of CGI programs that have
reasonably complex menu interfaces. I'm getting tired
of passing state via hidden fields and urls but I don't
want to depend on cookies. I'm thinking the solution
is a server side solution that creates a session ID that
can be pass
hello again,
Here is my first attempt to solve this:
sub do_report
{local ($command) = @_;
$| = 1;
print "Content-type: multipart/x-mixed-replace;boundary=End\n\n";
open REPORT, "$command 2> /dev/null |" or die
my $message = "Working";
until ()
{$messa
Hi all,
I hope this isn't a goofy question ;-) I have a simple CGI front end
for processing Snort logs with Calamaris. It is currently set up like this:
sub do_report
{local ($command) = @_;
$| = 1;
print "Content-type: text/html \n\n";
system ("$command 2> /dev/null");
}