PGP FAQ
What html code will I need to use?
You will need to insert the following html code into your pages:
<H3>Feedback Form</H3>
<form method=POST action="https://www.cia.com.au/cgi-bin/PGPMail.pl">
<input type=hidden name="recipient" value="your_login_name@cia.com.au">
<input type=hidden name="subject" value="Whatever Subject You Wish">
<input type=hidden name="redirect" value="http://www.yourcompany.com.au/optional_reply.html">
<input type=hidden name="pgpuserid" value="email@inpublic_key.com">
Your Name: <input type=text size=40 name=realname> <BR>
Your Email Address: <input type=text size=40 name=email> <BR>
Country:
<SELECT name="Country">
<option value="Australia">Australia</option>
<option value="USA">USA</option>
<option value="UK">UK</option>
<option value="Other">Other</option>
</select> <BR>
Comments:
<BR>
<TEXTAREA name="Comments" cols=40 rows=5></TEXTAREA>
<INPUT type=submit value="Submit">
<INPUT type=reset value="Reset">
</form>
Notes:
- The path to the PGP script is https://www.cia.com.au/cgi-bin/PGPMail.pl
not http://www.yourdomain.com.au/cgi-bin/PGPMail.pl.
- The recipient value is your email address. Please change this
to the email address you want the encrypted form sent to.
- The subject you can change to whatever subject you like.
- The "redirect" value is totally optional. You can either put
the url of a file that you wish to display after the form is submitted,
or leave the whole line out completely and the results of the
form will be displayed on screen.
- The "pgpuserid" value is used in the encryption process. It
must have the email address that was used in the generation of
the public key.
- The middle section above is optional: you can put whatever fields
you like in your form. However for the first two fields you should
try to keep "realname" and "email" as the names for the values
so that you will be able to see who the form is from and reply
to them easily.
What will the form look like?
The above html code will give you a form that looks like this:
Feedback Form
What will be emailed to me?
From: fred@isp.com.au (My name!)
To:
Subject: Whatever Subject You Wish
Date: Mon, 07 Jan 2002 14:01:18 +1100
-----BEGIN PGP MESSAGE-----
qANQR1DBwU4DLMkmTS/FRKsQCACusCkWYa2aLe6lQH579rPu5iK3P7p2BfW0syo8
FxnVzxJ3r5i8srgrqj7Qype3F9NjEMW5j+iJ8WU8qZiO3WfYdmUgV9xgpNdDtyte
FmpZbbuA3bY3nnaHn/g4cFi9flRDwQO83EcdUvQNS6Y3RukEkc+tfW0HeTM+iFht
WjBK3PK832YsbvPLBKQUEkVu0yzz26YkuhHTsgrihoPMmy99K5x7Nz4MWP0Aax6Y
2wTuzWUSrr5uPckuNOxvf/nib0T0ZchgB/tuZiI9FoYwFOUbvvu2FCpCgwuPtiwX
1BKqmNZE0gnhXVNJ49CTolaiOvDJc2Ay/ZzzZNVTs9BAx2giB/9GbsV570A0TXE5
IzQeW0kzjWCdP1j1nW1xRk8dSGJPjYAHxjhV6rt4nYkQ2OIsvvCYWMbyjsRCIaH
obwLrp87k0YSSQYOEKTMieaL6+eN5XcGKk5vlUGNTB/TKqmHS1W8I7TjLLPD3FQ=
=3Sb+
-----END PGP MESSAGE-----
By running this through the pgp decryption software, we
get the following:
Below is the results of your form .
It was submitted by: (My name!) fred@isp.com.au
Monday, January 7, 2002 at 14:01:18 Pacific Time
--------------------------------------------------------------
Country: Australia
Comments: This is the comments field. Whatever was
typed into that box will end up here.
--------------------------------------------------------------
|