| Variable |
What it does |
Value (BOLD=default) |
| ALLOW HTML |
Determins if a submitter can use HTML tags in the entry |
"YES" or "NO" |
| ALLOW IMAGES |
Some spammers are getting wise to filters so they are opting to use images
to clog your guestbook with. If you set ALLOW IMAGES to NO it will strip
any image <IMG> tags from the entry. |
"YES" or "NO" |
| SHOW THANKS |
Will show a "Thanks for signing the Guestbook" before redirecting the user to the other page you specify
via the REDIRECT PAGE variable. |
"YES" or "NO" |
| REDIRECT PAGE |
the internet address of the page you would like
the user to go to once the have hit the SUBMIT button. Most people
just redirect the person back to the guestbook but you could use a
Thank You page or whatever
|
A valid web address ie "http://www.myhomepage.com/cgi-bin/asgbv2.pl?1+10" |
| HTML Directory |
The directory on your server where you have your HTML files and website.
|
ie. http://www.myhomepage.com/ |
| |
Email Section |
|
| SEND THANKS |
send the signer of the book a thank you
note if they supplied a valid e-mail address.
|
"YES" or "NO" |
| YOUR EMAIL ADDRESS |
Should be your e-mail address. |
"me@somedomain.ca" |
| NOTIFY ME |
The script will notify you when somebody has signed your book
by sending you and email. |
"YES" or "NO" |
| MAIL PROGRAM |
Is your system's e-mail program typically either
sendmail on Linux or blat.exe on Windows.
|
"/usr/lib/sendmail" -t "C:/www/cgi-bin/blat.exe" |
| USE BLAT |
If you are using BLAT.EXE then set this to "YES". If you are going to use
sendmail then set it to "NO".
|
"YES" or "NO" |
| FROM ADDRESS |
Enter your email address here. This is the email address for the account
that use the login and password below. It can be the same as the YORR EMAIL ADDRESS. |
"foo@somedomain.ca" |
| SERVER |
Your email server |
"smtp.somedomain.ca" |
| PORT |
Your email server's port Normaly 25 |
"25" |
| EMAIL USERNAME |
Your email login name |
"foobar" |
| EMAIL PWD |
Your email password |
"password" |
| |
MISC Variables |
|
| YOUR DOMAIN |
Should contain your domain. ie. somedomain.com or www.somedomain.com
Prevents someone else from running your guestbook from thier webpage.
|
"somedomain.ca"
"www.somedomain.ca"
|
| REQUIRED FIELDS |
Required fields. enter the fields here that must not be blank when
the user submits the entry. ie.name,message
Fields: "name","email","city","country","url","message"
|
name,message |
| |
ANTI SPAM CONFIGURATION |
|
| MASK EMAIL |
will replace the . and @ signs in the address to fool
most email spiders.
|
"YES" or "NO" |
| AT SIGN REPLACEMENT |
@ sign replacement if MASKEMAIL set to YES.
(can be an image, © or "AT" or whatever)
|
© |
| DOT REPLACEMENT |
. replacement in email addresses if MASKEMAIL set to YES.
(can be an image, · or "DoT" or whatever)
|
"·" (Looks like this)=> · |
| FLAG ON LINKS |
will FLAG an entry if it contains more than $MAXLINKS
links on the guestbook. (this does not include the url field)
This will only count the links in the message field.. |
"YES" or "NO" |
| SCAN URL'S |
If set to YES will download and scan the webpages that the person posted links for.
This can bog down a server if you allow a lot of links in a post.
Spammers are getting wise to our script so they are leaving very innocent posts with
links that don't trip the filter. This will take care of that. |
"YES" or "NO" |
| SCAN FILE |
This is the name (and location) of the file that can be used as a filter for the URL scan.
The filter for the guestbook should be very restrictive but you may want to have a less restrictive list
of words when scanning other webpages.
If you don't want to use a separate file just leave this blank.
More information is available here. |
"scanfilter.dat" or "" |
| MAX LINKS |
Works with FLAG_ON_LINKS.Maximum number of links allowed in the message body.
(does not include the link in the URL field) |
0 to 100 default=2 |
| FLAG ON WORD LEN |
Works with FLAG_ON_LINKS.Maximum number of links allowed in the message body |
"YES" or "NO" |
| MAXWORD LEN |
Works with FLAG_ON_WORD_LEN.Maximum number of characters in a single word |
1 to 100 default=40 |
| CHAR REPEAT LIMIT |
Checks the frequency of a letter in a word.
finds stuff like like "You SUUUUUUUUUUUUUUUUUUCK"
This is only used if FLAG ON WORD LEN is set to YES |
2 to 1008 0 = OFF |
| FLAG ON FILTER |
will flag any entry that contains any of the words in the
filter word file. It will search ALL the fields, not just the message field.
|
"YES" or "NO" |
| USE BANS |
Use Bans, will permanently ban the offending ip address.
After being banned they will automatically be
redirected to a different page and nothing will be written to the guestbook.
|
"YES" or "NO" |
| MAX LOG ENTRIES |
Maximum number of Ban log entries. Dont use a high number here.
25-100 entries should be enough.
|
50 |
| MAX LENGTH |
Maximum length of Guestbook message (number of characters)
Set to 0 for unlimited (not recommended)
|
800 |
| MIN LENGTH |
Minimum length of Guestbook message (number of characters)
Under that number an error message will appear and the user can fix the post.
v3.06 and up only
|
25 |
| MUST HAVE |
If set to YES all posts must have atleast MINWORDS (set below) from the musthave.txt file.
Useful to help prevent junk messages. v3.06 and up only
|
YES or NO |
| MIN WORDS |
The number of word ocurrences taken from mushave.txt that MUST be present in the post.
Set to 0 to disable (not recommended) also not used if MUSTHAVE=NO (also not recommended).
v3.06 and up only
|
2 |
| MAX POSTS |
Maximum number of times per day a person can post to the guestbook
1 to 100 (default is 2) v3.06 and up only
|
2 |
| LOG ERRORS |
Logs errors. set to YES to log errors or NO to not write log.
Useful to help you debug the script.
|
YES or NO |