Overview: Netmar supplies a large number of standard scripts that can be used directly from your website without being copied into your account. The scripts provide almost all of the most sought after website features. Use of these scripts over custom scripts is advantageous because unlike custom scripts, the standard scripts are run directly by the system with no additional overhead. Custom scripts, on the other hand (scripts in your own cgi-bin directory), must pass through a number of security checks and run at a lower priority than regular scripts, thus running a little slower. So when you're looking for a feature that can be provided by these scripts, we recommend you use them in place of custom scripts for maximum performance.
- Before Beginning
In general, to use a Netmar-provided CGI script, you need only reference it with
/cgi-bin/scriptnamein your HTML code. This means you either link to it with an A tag, or designate the script as the action in your FORM tag. Specific instructions for each script are available by clicking on the links below.
Follow these steps
- Mail - see Questions 1.15, 2.1, & 2.3
- reads the data submitted through an HTML form, qualifies it (validates information and checks that required fields have been filled in), then creates an HTML followup page, email to the webmaster, and possibly a confirmation email for the person using the form.
- Counters - see Question 2.10
- Include a number on your page that increases (or decreases) by one (or more) each time the page is loaded. The number can either be plain text, or a graphical number. The actual number can also be hidden so that you can just check the data file to see how many times the page has been loaded without actuall telling everyone else who visits the page.
- Referer Logging - see Question 2.6
- Log the locations FROM which people visit your site. This is not just the IP addresses of the visitors, but rather the URL addresses of the pages that linked them to your site.
- CGIWrap - see Question 1.8
- Run your own custom CGI scripts.