Fill-out Forms
Getting Started
Fill-out forms let a reader return information to a Web server for some action. For example, suppose you collect names and email addresses so you can email some information to people who request it. This processing of incoming data is usually handled by a script or program written in Perl or another language that manipulates text, files, and information. If you want to, you can write this program yourself, but I have no idea how to do it. I would check with your server. I know that many servers have scripts available for its users. Let's pretend that the one that I'm going to use is called "fb.pl". This will send a response to your fillout form directly to your email address. This script is not real, it is just an example. Check with your ISP to see if they have built-in scripts.
Form Method/Action
The first thing that you type for your guestbook is the Form Method and Action. This is where you enter the Perl script. Most servers and Internet Providers have scripts like this that they provide for you. Check with yours. You cannot have any kind of forms without having a script. The address of the one that I'll be using is:
http://www.domain.com/cgi-bin/fb.pl. If you would like the response sent to your email address, and the address is "a@a.com", you would type this for the first two lines:
<FORM METHOD="POST" ACTION="http://www.domain.com/cgi-bin/fb.pl">
<INPUT TYPE="input" NAME="recipient" value="a@a.com">TO:<P>
Here is what it will look like:
0 comments:
Post a Comment