Page 1 of 1
security image
Posted: Wed Dec 31, 2008 11:45 pm
by mirnot
Script URL:
Version of script:
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:
Write your message below:
i have a working guestbook script
HOWEVER,
it has a securtyt number to copy, Not a security image!
How and where do i change the script so that a security IMAGE appears on the form?
Posted: Thu Jan 01, 2009 12:25 am
by Henrie
Do you have GBook as your guestbook or another script?
No support for other guestbooks here than GBook.
If you have GBook, please post a link so we can see what the problem is. I don't clearly understand what you mean.
Greetings,
Henrie
Posted: Thu Jan 01, 2009 4:45 am
by mirnot
Posted: Thu Jan 01, 2009 9:53 am
by Henrie
Hi mirnot,
First of all, i see you have version 1.43 it is advised to upgrade to the latest version 1.60.
But that is your choice to make.
To activate the security image, set
$settings['autosubmit']=1;
I see this is not clearly written in the settings.php file itself, but it is in the readme.htm file with is included in the GBook package.
From the readme:
Updated in 1.43
$settings['autosubmit']
Setting this to 1 or 2 will require entering a "security number" in order to successfully submit a new entry to the guestbook. I have added this to prevent SPAMing the guestbook. Set to 0 if you want to disable the security number check.
Setting to 1 will display the security number in a generated image. For this to work your server must have GD library installed. You can test if your server supports all the required functions by uploading the gd_test.php file to your server and open it in your browser. If you get a red image with text WORKS your server shouldn't have problems with it. If you get an error when opening gd_test.php try using the text version as explained below or ask your hosting company to install the GD library for PHP.
Setting to 2 will display the security number in text format. While this is not as effective as an image it will still block the majority of known spam robots.
RECOMMENDED SETTING: $settings['autosubmit']=1;
OR if the above doesn't work try
RECOMMENDED SETTING: $settings['autosubmit']=2;
Greetings,
Henrie