Rodent of Unusual Size wrote:
eric lin wrote:[Thu Dec 12 19:55:46 2002] [error] (2)No such file or directory: exec of /usr/lib/cgi-bin/entrance.pl failedthis usually means that the interpreter in the shebang line of the script is incorrect. or possibly that the script file has dos line endings. what does 'ls -lag /usr/local/bin/perl' say? edit the script file ('vi entrance.pl'); does the status line at the bottom say 'dos'?www:/home/fsshl# #!/usr/local/bin/perl bash: !/usr/local/bin/perl: event not foundno, *execute* the script, don't type it interactively. that is, try www:/home/fsshl# /usr/lib/cgi-bin/entrance.pl
Thanks your hint on this
so I change my .pl file to #!/usr/bin/perl which is my path in env
so I tried hit submit bottom this time, the browser did not show error, but it show a piece of white, that may be improve, but not what I want
I want to colletec date from visiter and print it out
(at least at beginning)
my pl is
#!/usr/bin/perl
use strict;
use CGI ':standrard';
print "Content-type: text/html\n\n";
foreach my $name (param()) {
my @cpu=param($name);
print "<p>The field with the NAME attribute euual to <b>
$name</b> had a VALUE equal to <b>@cpu</b></p>\n";
}
Please help again
instead.
--
Sincere Eric
www.linuxspice.com
linux pc for sale
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]