httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eric lin <>
Subject [users@httpd] what is perl 's syntax or grammer?(toward e-commerce)
Date Fri, 13 Dec 2002 12:06:48 GMT
Dear website developer or linuxer:

   I follow two boods, one is "HTML for the World Wide Web with XHTML 
and CSS" the other is "Teach yourself WEbPublishing with HTML and XHTML"

may be best weblanguage is java or java script, let me explore html and 
cgi and perl first

by many try, when I hit my submit bottom , it finally show somthing

This is example of CGI Script

-----------------------------------------my entrance.cgi--------------------
use strict;
use CGI ':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>";

but that is not correct or good enough, I still expect the print out the 

name field i collect from visitor(ie CPU, motherboard, harddisk, etc...) 
and value field( the price of cpu, motherboard, harddisk, etc...)

please help

Sincere Eric
linux pc for sale

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message