The list of fields that will be included in the message, the sublist of fields that are required, and the recipient address are configured in the script.
The script just checks the CAPTCHA and required fields and submits a request to the DreamHost script with the above data. It doesn't attempt to validate the email address because I have not determined how the DreamHost script validates it yet.
And it's not something that can be dropped in at the moment because none of the other fields the DreamHost script parses are passed along.
Also obviously if you use env_report it will show the User-Agent string provided by the CAPTCHA script and the IP address of the machine it was run on.
Anyways. Can you think of anything else that needs to be done?
- Pass along the other fields to the DreamHost script
- Don't check for blank fields (DreamHost script does it already)
- If the DreamHost script outputs XHTML, use that for our output
- If the DreamHost script issues a redirect, issue the same redirect
- Allow parameters to be configured in script source as well as form field
...and then to port it to PHP. Will probably use reCAPTCHA then.
openvein.org -//- One-time [color=#6600CC]$50.00 discount[/color] on [color=#0000CC]DreamHost[/color] plans: Use ATROPOS7