• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Making It Go

In order to make a form actually do something, you have to set it up to work with a CGI script or other custom script, called a form handler. Dreamweaver can't write the script for you—you have to take care of this part on the server end. Many Internet service providers make available standard scripts for common forms such as mail forms and guestbooks, and they may offer other scripts as well. If you're working on a larger project, you may need to consult with a programmer, your systems administrator, or both.

Forms are sent by one of two methods: GET, which sends the results of the form in the URL submitted to the script; and POST, which encodes the material sent to the script. Check with your sysadmin to see which method you should use. Where does the stuff go? The script includes instructions on whether to store it in a database, email it to someone, or save it as a data file.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint