[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: CGI script using perl

On 12 Aug 2001 15:27:37 +0530, shyamk@eth.net wrote:

> Suppose I am having an HTML form that calls a CGI script wriiten in
Perl (hosted by a
> Linux Server) :
> 1. Does the fresh program I have written and labelled as , say, action.pl    .......

Yes, it's generally a good idea to append the .pl suffix.

> Does it automatically get compiled and run by the HTML page/ form that calls it ?
> 2. Or do I have to make it an EXE first and then make the HTML form call this EXE ?

Usually, a Perl script is called by the ACTION property of the form.
This tells it that when the form SUBMITs, that it will call the script
specified in the ACTION attribute.


Reply to: