Dear experienced webmaster or linuxer:

I download mod_perl 1.27 and install it also at my /etc/apache/httpd add a line
LoadModule perl_module /usr/lib/apache/1.3/mod_perl.so

with my simple script /usr/lib/cgi-bin/entrance.cgi

#!/usr/bin/perl -wT
use strict;
use CGI ':standard';
use CGI qw(:standard);

my @param=param();

print "Content-type: text/html\n\n";
print "<html><body>\n";
print "This is an example CGI script.\n";

foreach my $name (param()) {
my @value = param($name);
print "<p>The field with the NAME attriabute equal to <b>
$name</b> had a VALUE equal to <b>@value</b></p>\n";
}
print "</body></html>";

------------------------------------------------------
it should show more than
This is an example CGI script
when I hit the submit bottom, but name and value

it is not what I expected, please help
--
Sincere Eric
www.linuxspice.com
linux pc for sale


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to