Hello to all,
I downloaded the guestbook for my website but as I'm a beginner in php , I don't understand very much about the code .
Anybody can explain me the structure of the gbook.php?
and in general the structure of the guestbook and the relations between
files?
Many thanks in advance for your help.
the guestbook
To get the GBook running on your server read instructions in the readme.htm file.
As for the structure - there's not much to explain to a non-programmer. The gbook.php contains functions and code for handling most of the things that the guestbook does, language.inc.php contains all the text used, "entries.txt" is used to hold the posted messages, etc.
As for the structure - there's not much to explain to a non-programmer. The gbook.php contains functions and code for handling most of the things that the guestbook does, language.inc.php contains all the text used, "entries.txt" is used to hold the posted messages, etc.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
-
- Posts: 3
- Joined: Sat Jun 06, 2009 12:23 pm
Hello to all,
I read many times the readme explanation about the files : settings.php and I don't understand this section below :
Am I clear? only 60 messages can be considered as a spam.
Many thanks for your help .
I read many times the readme explanation about the files : settings.php and I don't understand this section below :
What I understand is that after the amount of limit that messages are considered as a spam , the next message even if it's a spam it isn't anymore considered as a spam.$settings['junkmark_limit'] Set to the score after which messages are rejected as SPAM. Messages which are given a JunkMarkTM score same or higher to this limit will not be added to the guestbook. Possible values are between 0 and 100. I don't recommend setting it below 50! The optimal value is around 60 to 70.
RECOMMENDED SETTING: $settings['junkmark_limit']=60;
Am I clear? only 60 messages can be considered as a spam.
Many thanks for your help .
-
- Posts: 3
- Joined: Sat Jun 06, 2009 12:23 pm
JunkMark is a score the program gives. If the score is 100 it means it will block only messages that receive 100% SPAM score. If it is set to 70% it means it will block messages that reach 70% SPAM score (it means it's not 100% the message is SPAM, but it most likely is). Don't worry about it, just keep it in the recommended setting and it should block most SPAM from your GBook.
rw-rw-rw- means that the script has premission to write to file.
http://www.google.com/search?hl=en&q=un ... ermissions
rw-rw-rw- means that the script has premission to write to file.
http://www.google.com/search?hl=en&q=un ... ermissions
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools