HVS HUMAN VERIFICATION SYSTEM
FIGHT SPAM, HAVE YOUR USERS TYPE A RANDOM WORD
3 Easy steps to adding a box like this one to any form on your
page
1. Sign up for a membership
This is under development. The system is free while we build the
membership schema and tie it into PayPal. Even after that it will be cheap. Very very cheap.
Probably about $7 or $8 per Month.
2. Copy THIS file, name it
"hvs.pl" and place it in the same
directory (usually cgi-bin) with the script you are actually calling. Set the value
of $scriptname to the name of the script you are submitting to.
#!/usr/bin/perl
###########################################################
####### ENTER THE NAME OF THE SCRIPT YOU ARE CALLING ######
####### FOR EXAMPLE my $scriptname="formmail.pl"; #########
###########################################################
my $scriptname="myscript.pl";
###########################################################
###### ENTER YOUR HVS MEMBERSHIP ID #######################
###### FOR EXAMPLE my $hvsid="Y26AL/445T8"; ###############
###########################################################
my $hvsid="1234567890";
###########################################################
##### DO NOT EDIT BELOW THIS LINE #########################
###########################################################
use CGI qw/:cgi/;
use LWP::Simple;
my $q=new CGI;
my $hvs=get "http://hvs.webteacher.com/hvs/validate?ip=$ENV{REMOTE_ADDR}&trx=".$q->param(hvs_trx)."&validate=".$q->param(hvs_validate)."&hvsid=$hvsid";
if ($hvs) {
print "Content-type: text/html\n\nhvs=$hvs";
exit;
}
require $scriptname;
|
3. Place this just before the SUBMIT button in your form:
<SCRIPT SRC="http://hvs.webteacher.com/hvs/image"></SCRIPT>
Change the ACTION of your form to /cgi-bin/hvs.pl.
FAQ
1. Can I remove the link back to hvs.webteacher.com?
Images without the link are available as part of our
premium account. Details soon.
2. MATT WRIGHT'S FORMMAIL
The CGI module conflicts with Formmail's REFERER
checking. Instead, we please edit the script as follows:
1. LOCATE lines 63 and 64:
# Parse Form Contents
&parse_form;
2. INSERT the following below line 64:
3. REPLACE 12345678 with your HVS ID in the lines you just
inserted.
|