eric lin <[EMAIL PROTECTED]> writes:

> > foreach (param()) {
> >   print "<p>\n";
> >   print "$_ has value(s) => ";
> >   print param($_);
> >   print "</p>\n";
> > }
> > 
> > print end_html();
> > 
> > 
> Same thing, only show "This is an example CGI script."
> 
> I keep doubt it is my httpd and perl module did not configure well
> 
> any opinion?

You need to pass parameter(s) to the script else the foreach loop will
not be entered (the parameters are empty).

If the name of the script is "test.pl" on your local machine in the
cgi-bin ScriptAlias, then something like:

http://localhost/cgi-bin/test.pl?name1=value1&name2=value2

Elizabeth


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

Reply via email to