O r e g o n ' s   I n t e r n e t   S e r v i c e   P r o v i d e r
Hevanet
Current PDX Conditions:

©Copyright
Hevanet Communications
All Rights Reserved



CGI scripts & HTML Programming Tools


New FormMail Security Update

We have had to change our FormMail script to fix a serious security hole. From now on, if you wish to set up or change an existing web form using the FormMail.cgi script, you will have to inform us of the email address you wish to use to receive the results of your form.

We will then permit FormMail to use your address. This is necessary to prevent junk mailers from hijacking our FormMail script for spam.

Email support@hevanet.com and we will add your address to the configuration file.

Note: all current users as of 09/18/2002 have already had their addresses added.

Form mail

You can use the FormMail.cgi script to process the input from a HTML form on your web page. A copy of the user's input will be emailed to your email address. At the minimum, you will need the following:

<form action="http://www.hevanet.com/cgi-bin/FormMail.cgi" method="post">
<input type="hidden" name="recipient" value="your_email_address@hevanet.com">
<input type="hidden" name="subject" value="My Feedback Form">
<input type="hidden" name="required" value="email">
Name:<input type="text" size="20" name="Name"> 
Email address:<input type="text" size="20" name="email"> 
<input type="submit" value="Submit">
</form>

A complete sample page is available. You can modify it to suit your needs. 

Replace email@hevanet.com with the address to send the mail, and replace the value for the message subject. The script will also display an alternate page if you like. Check out the details in: www.hevanet.com/support/CGI/formmail/

Shopping Cart

Setting up a shopping cart and doing e-commerce for your website need not be difficult. There are many options out there on the Internet, but Hevanet has found one that is extremely easy and simple to set up. Best of all, the basic version is FREE!

Mal's e-commerce

Check out the Mal's e-commerce site and join up, set up and start selling!

Counter 

The HTML you need for a counter is: 

<IMG SRC="/cgi-bin/Count.cgi?df=user.dat">

Where user.dat is the name of the file for the count number. Use your Hevanet account name so that the filename is unique. If you make more than one counter, just name a different file, eg. user2.dat, etc. More information about the Counter (options, etc.) can be found at: Web Counter Home page

Mailmerge 

The Mailmerge.cgi script is now available for use by Hevanet subscribers. Mailmerge is very similar to FormMail, but allows greater flexibility as far as how the output is formatted. 

Mailmerge is a Perl CGI script for handling simple HTML forms without doing any actual scripting. You can use it to create user comment forms, surveys, software registration pages, and bug reports. 

It's basically an e-mail gateway: you write the form in HTML, users fill it out and submit it, and the contents of the form are then e-mailed to you or to the recipient of your choice. However, unlike other scripts of this sort, Mailmerge gives you control over the way in which the outgoing mail is formatted by letting you supply printmerge-style templates that specify the appearance of both the input form and the outgoing message. 

As of version 1.1, mailmerge can also be used to write messages out to a file, so that you can create voting scripts, guestbooks, and so on. Here are some examples of how to use Mailmerge.cgi

.htpasswd Generator

Use this utility to generate the encrypted username:password pair for your .htpasswd file. For a tutorial on how to set up password protection on web pages, click here.

User Name:
Password: