please help, CGI..# Unix - 噫吁兮,危乎高哉
f*u
1 楼
it's my first time writing CGI using Perl. I have
the HTML form page ready. But whenever I submit
my form, I get the webpage of the text of the CGI
program itself. What's wrong I am doing here? How
to make it work? Two things I am not sure about..
1. does a CGI program has a required extension, say hello.cgi
or no extension at all or I can just have hello.pl ?
2. do I need to compile? It seems I can not compile like
what I do to a perl script. It gets strange html contents
onto the scre
the HTML form page ready. But whenever I submit
my form, I get the webpage of the text of the CGI
program itself. What's wrong I am doing here? How
to make it work? Two things I am not sure about..
1. does a CGI program has a required extension, say hello.cgi
or no extension at all or I can just have hello.pl ?
2. do I need to compile? It seems I can not compile like
what I do to a perl script. It gets strange html contents
onto the scre