in reply to Re^3: How do I get my webserver to execute Perl CGI scripts?
in thread How do I get my webserver to execute Perl CGI scripts?
and the cgi has<html> <head> <title>Tell Me Your Name</title> </head> <body> <form action="i:/oracle/isuites/apache/apache/cgi-bin/name.cgi"> <p>Enter your name:<input name="name" /></p> <p><input type="submit" value="Submit Me!"></p> </form> </body> </html>
I is the correct drive for perl....I compiled the cgi and it worked fine. when i open the html and click submit it brings the perl to the browser.#!I:/ORACLE/iSuites/Apache/perl/5.00503/bin/MSWin32-x86/perl -w use strict; use CGI qw(:standard); print header; print start_html('Hello'); print "<h1>Hello, ", param('name'), "!</h1>\n"; print end_html;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: How do I get my webserver to execute Perl CGI scripts?
by kutsu (Priest) on Sep 02, 2004 at 20:43 UTC |