Appies
[ Table of Contents ]

Forms and Scripts

Forms and Scripts

Without forms and scripts, a Website would be just an online brochure. Forms are Web pages where users can enter information and scripts process this information. Forms use standard HTML input fields to collect information. For more information on creating forms and overall excellent quick reference to other HTML code, visit http://werbach.com/barebones/barebones.html .

Public scripts already on the server. The Internet is full of free scripts that do just about everything.  The problem with free scripts is they are usually not supported and the quality of the scripts are not guaranteed.  In most cases however, some basic scripts like the one that come pre installed on your server are simple to use and are well documented.  The scipt is called "formmail.pl" and is used to return data from any web-based form. For full details on this, see http://www.scriptarchive.com/readme/formmail.html .

More on scripts. These servers are configured to run scripts in any directory on the server.  The script must  be at least chmoded to 755 but recommended 700 for tighter security.  All your scripts executed by the web server are executed using SUexec, therefore run as the user and not user "apache".  This means they can write to secure directories and you have more flexibly in your programming.  Scripts must have the correct extension to be executable by the browser.  For example, perl scripts must be either .cgi or .pl, PHP extensions must be begin with .php, etc.

[ Table of Contents ]
Copyright 2004-2007, Greentree Hosting, LLC.