in reply to Re: Linking Forms with CGI
in thread Linking Forms with CGI

Thanks a lot! I find the links you provided very helpful!

Replies are listed 'Best First'.
RE: RE: Re: Linking Forms with CGI
by Anonymous Monk on Jun 14, 2000 at 17:46 UTC
    I was just thinking, by the way. The examples I've seen, so far,created forms within the PERL-CGI script itself. But I have a ready ".htm" file which is a form whic I created in Dreamweaver 3. And I have this certain database in mySQL. Is it possible for me to use the FORM I created in Dreamweaver, and just call the cgi file to process the form?
      You shouldn't have a problem with that. Just make sure your FORM tag has ACTION pointing to your cgi script.
      <FORM METHOD="post" ACTION="pathtoscript/somescript.cgi">
      Of course there is a way to use the form you created.
      Let's suppose the form calls a script named test.cgi.
      In this script you write:
      use CGI qw/:cgi/;
      Then you may use the param('name') where name is the form-element name in your page