Welcome to Dagon Design. In addition to free scripts, WordPress plugins, and articles, we offer a variety of services including custom theme design, plugin creation, and PHP scripting. Contact me for more information.

Version 2.44   Updated Friday, July 27th, 2007 at 8:20pm

Secure Guestbook Script with Image Verification

This is the latest version of my secure PHP guestbook script. A lot of new features have been added since the last release including support for entry moderation, separate configuration and language files, improved code and session handling, and much more. The purpose of this script is to provide an easy to use, yet secure guestbook which features image verification to keep out spam bots as well as other security measures. It uses a flat-file storage method so that it will work for users without database access and contains many other features not found in most standard guestbook scripts.

Download

Included Languages

The script current includes files for the following languages:

  • English
  • Dutch
  • Formal German
  • French
  • Italian
  • Norwegian
  • Portuguese
  • Romanian
  • Spanish
  • Swedish
  • Turkish

Please let me know if you would like to contribute a new language file!

See it in action

I have a demo guestbook here: Demo guestbook

Installation

  • Download ddgb.zip and uncompress
  • Upload all files into a directory of your choosing
  • Give write-access to /dat/.entries and /dat/.banlist (chmod 666 or 777)
  • Configure the options in config.php
  • Run the script by calling ddgb.php

Changelog

  • 07-27-07 Version 2.44 - PHP short-tag bug fixed. Italian language file added.
  • 06-20-07 Version 2.43 - File locking feature is now an option (disabled by default), instead of automatically enabled
  • 06-13-07 Version 2.42 - Security update
  • 04-04-07 - Spanish language file has been added
  • 03-24-07 - Romanian language file has been added
  • 01-14-07 Version 2.41 - Fixed bug related to display of entries
  • 11-01-06 Version 2.4 - Moderation/display issues 100% resolved - Smilies are now clickable - Various bug fixes
  • 10-22-06 Version 2.31 - Further improvements to the session code - Should work better on Windows servers now
  • 10-21-06 Version 2.3 - Fixed bug with display of entries when moderating - Improved session code - Dutch language file has been added
  • 10-17-06 - Not a version update - Swedish and Portuguese language files have been added
  • 09-07-06 Version 2.2 - Bug fixed (verification problems in non-standalone mode)
  • 09-01-06 Version 2.1 - Various minor fixes - Added Norwegian language file
  • 08-24-06 Version 2.0 - This is a very big update. Because of this, almost all of this page has been rewritten. Unfortunately, previous data files will not work with this release because of the new data structure. The advantage is that new fields can be added in the future without loosing the old data! The new data file is also simple enough that you should be able to manually add your old entries into it. New features include:
    - Separate config and language files
    - Option to require manual approval/moderation of entries
    - Improved session handling (no more separate verification file!)
    - Option to run as stand-alone script, or through another page
    - Secure data file storage method already implemented
    - Now supports basic smilies
    - Can disable image verification if not supported
    - New option to protect email addresses
    - And more - read below
  • 05-17-06 - Not a version update, but I added instructions on making the guestbook even more secure.
  • 05-03-06 Version 1.31 - Fixed a bug when editing entries - Name, website, and email fields can now be modified on existing entries.
  • 03-16-06 Version 1.3 - Revised layout a tiny bit - Now checks for GD support and gives error if missing - Adds http:// prefix if not entered in web address - IP addresses of posters shown in admin box - Can now ban posters by IP (removes all of their posts too) - Added confirmation before deleting and banning
  • 02-16-06 Version 1.2 - Added option to allow or disallow html in posts - Fixed a magic quotes bug
  • 02-06-06 Version 1.1 - Added option to prevent search engine robots from following links posted by visitors (using the nofollow tag)
  • 02-02-06 Version 1.0 - First public release!

Some of the features

  • Flat-file storage with precautions in place to prevent data files from being viewed.
  • Various security measures to prevent abuse.
  • Separate config and language files.
  • Image verification support (can be disabled if your server does not support the GD library).
  • Administrative interface to edit and delete entries, ban IPs (and automatically remove entries from that IP), and an option to enable manual approval of entries.
  • Implements ‘nofol’ tag to prevent search engine spiders from following links in entries (discourages some spammers).
  • HTML in posts disabled by default - you can enable this if you like, but it is a big risk.
  • Option to run as stand-alone script or included through another page.
  • Smilies are supported (either enter in the code, or click to add!)

Notes

If you want to include this script inside another page, be sure to set the proper ’stand alone’ setting in the config file. You may also need to include the session_start function at the very top of the PHP file you are including the script from:

<?php session_start(); ?>

Then just include the script in your file like this:

<?php include 'ddgb.php'; ?>

Overview of the options

These options can be set in config.php file

Path to ddgb.php

This needs to be set to the full url of the ddgb.php file on your server. Example: http://www.yoursite.com/ddgb/ddgb.php

Path to ddgb-verify.php

This needs to be set to the full url of the ddgb-verify.php file on your server. Example: http://www.yoursite.com/ddgb/ddgb-verify.php

Locale Setting

This allows you to choose the language file the script will use. The current version includes English and Formal German. You can also create your own by using one of the existing files as a template. Just set this option to the name of the file (without the .php) that you want to use.

Administrator Password

This is the password used to perform the administrative functions - editing, deleting, banning, and moderating. Be sure to change the default password.

Run as Stand-Alone Script

If you plan to run this script by itself, leave this option set to TRUE. If you want to include it in another page, set it to FALSE, and take a look at the information above under the ‘Notes’ section.

Title Tag

This is the title of the page when the script is used in stand-alone mode.

Path to Data File

This is the location of the data file used to store entries. Be sure to give it write-access (chmod 666 or 777).

Path to Ban File

This is the location of the data file used to store banned IPs. Be sure to give it write-access (chmod 666 or 777).

Requre Manually Entry Approval

If enabled, this will require that the admin manually approve posts. To do this, simply log in using the admin link and you will see all of the posts (including the ones not yet approved). Just click the appropriate link to approve them, or delete them instead if you wish.

Enable Smiles

If enabled, this option will convert text-smilies into images. It will also show the available smilies on the ‘new entry’ page.

Show Introduction Text

This is an optional intro which can be shown above the guestbook. The text it uses can be found in the language file you are using. This is disabled by default.

Disable Image Verification

If this script tells you that your server does not support image verification because you do not have access to the GD library, or you simply wish to disable image verification, set this to TRUE.

Image Verification Colors

This allows you to easily change the colors of the verification image. You can enter either 3 or 6 character hex color codes.

Path to CSS File

This is the location of the script’s CSS file, which controls the look of the guestbook.

Entries Per Page

Determines how many entries will be shown on each page. If there are more entries than this number, the guestbook will be split up into multiple pages.

Allow HTML in Messages

This option is dangerous because it allows visitors to enter HTML, which is a big security risk. It is disabled by default.

Protect Email Addresses

With this option enabled, email addresses will be shown in the following format instead of as traditional links: someone [at] somewhere [dot] net.

Enable File Locking

File locking is not supported by all servers. If you would like to use this feature, set this to TRUE.

Email Notification of Posts

For those of you who would like to receive email notification anytime someone adds a new entry, here is a simple mod. First, find this line in the main script file (ddgb.php):

echo '<p>' . _ADDED_THX . '</p>';

Right after it, add the following:

mail('user@domain.com', 'New Guestbook Entry', 'A New Guestbook Entry was added!');

Be sure to set your email address. The second parameter is the subject, and the third parameter is the message.

You can also use the following variables for your email’s subject or message: $fm_name $fm_website $fm_email $fm_location $fm_message. For example:

mail('user@domain.com', 'New Guestbook Entry', 'A New Guestbook Entry was added by' . $fm_name);

If this method does not work for you, it may have to do with the way your server is configured. Some hosts require that you manually configure the sendmail parameters for the PHP mail function to work properly. If you think this might be the case, you can try the following code instead:

$to = "user@domain.com";
$from = "user@domain.com";
$subject = "New Guestbook Entry";
$body = "A new guestbook entry has been added to your site.";
ini_set("SMTP","localhost");
ini_set("sendmail_from",$from);
$result = mail($to, $subject, $body, "From: $from");

Changing the timezone

If you would like to change the timezone setting for the script, edit config.php and find the following line:

// *** START OF OPTIONS ***

After it, add the following:

date_default_timezone_set('TIMEZONE');

Where TIMEZONE is a valid timezone identifier.

Topic: Scripts | RSS Feed

  1. ??? ????????????? ????????? ??????? ????? ? ???????????? ?????? - ???????? , ???????? , ????????? ???????? ?????? ??????, ? ??? ?? ??????? ???????? ?????????? ? ???????? ????????? ??????? ?? ???-?????? ?????? - ????????
    ” ????????? ??? ” ??????? ??? ?????????? ???????? ??? ???????? ??????? ???????? !
    ??????????? ???????? ???????? ??? ?????????????
    http://dom55555.ru
    ?. ??????, 3-?? ????????? ????????, ?. 11
    +7 (495) 671 72 15
    +7 (495) 671 72 16

  2. I know that she had the jordan sex tape dragon worked on me.

  3. Thehours dragged by my vagina. She obeyed, the pantiesdropped from carmen electra orgasm gwens creamy.

  4. ????? ?????? ???? ????????, ?? ???-?? ?? ????????. ?????? ?? ??? ??????
    ?????? ? ??????, ????? ?? ??, ??? ?? ????? ????? ???? ????? ?????????.
    ? ?? (??? ? ??? ? ????? ?????-??) ??????? ?????? ??????.
    ????, ??? ?? ???????, ???? ?????? ?????????? ?? ?? ????????
    ????? ??????, ??? ?? ??????? ??? ?????, ????? ??? ?????? ???? ??????
    ???????, ?? ????? ?????? ? ???? ????? ???????, ?? ???? ??? ????????
    ??????? ???, ????????, ??? ? ?, ????????? ? ???? ?? ???. ???????, ???
    ?? ?????????? ?? ?????? ??????? ?? ?????????? ?????, ? ? ????????
    ???????? ????, ??? ???? ?????? ? ?????????? ???? ??-???????? ??????????
    ???????? ???? ? ?????? ??????????? ???????? – ????????? ????????
    ??? ???? ????????, ??? ????? ??????? ???, ? ? ??????, ??? ??? ????????.
    ?? ?????? ?? ???????. ??? ????? ?? ????????? ? ????????. ???? ??????????
    ????????, ??? ?? ??? ???????? ???, ? ? ????? ?????? ??????? ???? ? ??????
    ??????????????? ??????? ? ????????, ????????????? ? ????????. ?????????
    ?? ???????? ??????????, ?????? ???????? ? ???????? ? ???????????
    ???????????? ? ???????? ? ???? ???, ??? ? ????? ?? ???? ?? ????? ???????
    ?? ??????? ? ????????? ??? ??? ?? ????? ? ????? ???????? ? ??????? ?
    ?????????????? ????????. ???????? ?? ????? ???????, ????? ??????? ?????, ?
    ?? ?????? ?????????. ? ?????, ?? ????????? ? ??? ??? ??, ??? ? ?? ????.
    ??????? ?????????, ????????? ?? ????, ????? ????? ??????????, ????????????
    ???????? ? ??????? ???? ????? ??????.

  5. Hi, good morning to all of you… Nice Guestbook ;-) !!!n

  6. The good forum long searched such in a network.
    I think I shall remain here on long.

  7. 584
    rob

    Is there any way to transfer old entries to the new version??

  8. I went dolly parton naked down, i started swallowing, and say hi. Given that with.

  9. ?????? ????? ? ????? ????????????. ??????? ?? ????? ????????.
    ????? ????? ??????? ???? ????????? ????? ????????? ?????????? ???????: ????????????, ??????????????, ???????????, ??????????, ????????? ?????? ???????? ? ?????????.
    ? ?????????? ????
    ? ??? ? ?????? ????????? ??????? ??????
    ? ????, ??????? ??????? ????
    ? ? ??????-?????? ?????? ?? ??????? ?? ?????? ?????? ????? ?? ?????????????? ??????.
    ????? ?????????? ??????? ??????? ?? ????????? ?????? ? ?????, ? ????? ??? ??????????? ?????????? ? ???? ???????.

    http://www.zreni.ru

  10. To me cry. I wouldnt have been mischa barton nude honest.

  11. Can anyone underwrite a legit online drugstore to buy medication without a prescription
    best buys Norvasc (Generic)?

  12. I am sorry, I can not in a theme, but there are here people which bought viagra through
    the Internet, please do not delete the message, I simply am going to make such purchase
    here and wished to learn the general opinion. Thanks also I hope for understanding of
    managers.

  13. 577
    livewebcam
  14. Itwas the blue. Aimee shivered and her broad shoulders. sigourney weaver nude Now stood proudly erect at the.

  15. 575
    Demon22

    New PTC, minimum 4$, click 0.01$, ref 0.005$, Payment Alertpay within 24 hours, ADS 20

    Earnings Example
    You click 20 ads per day = $0.2
    20 referrals click 20 ads per day = $2
    Your daily earnings = $2.2
    Your weekly earnings = $15.4
    Your monthly earnings = $66

    Register

  16. ????????? ??????? ??? ? ???? ????????? http://www.megpolis.net.
    ? ???? ???? ? ??????? ?? ?????? ????? ??? ??????? ?? ?? ???????, ?? ??
    ???? ?????? ?? ???? ??????? ??? ???? ????????? ????, ? ?? ???? ??????,
    ?? ???? ??? ????? ?? ???????? ??????? ??? ??????? ?????? ???? ?????? ? ????

  17. ??????? ?????????? ?????
    ??????

  18. ? ??? ???????? ????! ??? ???????!
    ??????

  19. Hi!
    I ask you to estimate my best site devoted Female Sexual Lube site!

  20. watch trust woman tom minor house sun vacant

  21. 569
    olly

    Hey i’ve been using your script for a while with no problems. I recently had a disturbing entry in my guestbook and the only way i could remove it was manually doing it via the .entries in the dat folder. However, now i’ve removed that the page where it displays the guestbook says there are no messages yet there are messages in the .entries file?

  22. ?????????? ??????? - ??????? ????????? ???? ????????? - ????????????? ????????. ??????????????, forex, ?????, ?????????, ???????? ?????, ???????? ?????,
    ???????????? ????????????, ??????? ???????, ???????? ????

  23. Sorry !

  24. ????????!!!
    ? ???? ???????? ????? ??????:
    ?????????? ?????????? ?????? ??? ?????? ??????????? ?????????? NOD32.
    “?? ????? ?? ??????? ?????? ??????(???????)????? ?????????? ,??????? ??????? ????????? ?????? ?????????? NOD32,?????? ???? ??????? ???????????? ?????????,????????????? ?????? ? ??????????.
    ??? ????? ???????????? ?? ????????????????? ?????????????? ????? ? ???????????? ?????? 24 ????.”

    http://nod32up.h18.ru

  25. ???????? ??????? Euro Star-on-line ?????? ? ????
    ????? ??????? ??????????? ???????????? ????????? CD,DVD,VHS,VINIL,????? ? ????????? ?? ???? ? ???????? ?? ?????.? ????? ???? ????? ??????? ????? ????? ? ???????? ? ???????.??????? ???????? ??????? ?? 45 ???. ??????? ?? ???? ??????? ?????????????? ??????????? ????????? ? ?? ?????????? ?????????: Universal (Ukrainian Records), EMI (Comp Music), BMG (Music Factory), Sony Music (Hunter Music) ? ????????????? ????????????? ????????: ????? Records, Moon Records, JRC, ???????, Lavina Music ? ??.
    ?????????? ???????? ?? ?????. ?????????? ?????? 5%

  26. Important safety information
    VIAGRA is prescribed to treat erectile dysfunction (ED).
    If you take any medicines that have nitrates in them (like nitroglycerin for chest pain)—every day or even once in a while—you should NOT take VIAGRA.
    Discuss your general health status with your doctor to ensure that you are healthy enough to engage in sexual activity. If you experience chest pain, nausea, or any other discomforts during sex, seek immediate medical help.
    Although erections lasting for more than 4 hours may occur rarely with all ED treatments in this drug class, to avoid long-term injuries, it is important to seek immediate medical help.
    If you are older than age 65, or have serious liver or kidney problems, your doctor may start you at the lowest dose (25 mg) of VIAGRA. If you are taking protease inhibitors, such as for the treatment of HIV, your doctor may recommend a 25-mg dose and may limit you to a maximum single dose of 25 mg of VIAGRA in a 48-hour period.
    In rare instances, men taking PDE5 inhibitors (oral erectile dysfunction medicines, including VIAGRA) reported a sudden decrease or loss of vision. It is not possible to determine whether these events are related directly to these medicines or to other factors. If you experience sudden decrease or loss of vision, stop taking PDE5 inhibitors, including VIAGRA, and call a doctor right away.
    BUY IT HERE
    http://sideeffects.wikidot.com

  27. Thank You Very Much For Showing This InfoCan You Look At THis?, cam free people view, cam free people view, vvngvf,

  28. ???????? ??????? Euro Star-on-line ?????? ? ????
    ????? ??????? ??????????? ???????????? ????????? CD,DVD,VHS,VINIL,????? ? ????????? ?? ???? ? ???????? ?? ?????.? ????? ???? ????? ??????? ????? ????? ? ???????? ? ???????.??????? ???????? ??????? ?? 45 ???. ??????? ?? ???? ??????? ?????????????? ??????????? ????????? ? ?? ?????????? ?????????: Universal (Ukrainian Records), EMI (Comp Music), BMG (Music Factory), Sony Music (Hunter Music) ? ????????????? ????????????? ????????: ????? Records, Moon Records, JRC, ???????, Lavina Music ? ??.
    ?????????? ???????? ?? ?????. ?????????? ?????? 5%

  29. Great Job, Keep up the good workJust Wanted to stop by and Congratulate,

  30. I just Told Everyone I know About Your siteFantastic work guys,

  31. Have You Seen This Site? Very Helpful, .rar free download, .rar free download, 624894,

  32. ORAPLUS
    ?????????????, ?????????, ????????????????? [b]Oracle[/b].
    ?????????? ? ????????????? ?????????????? ? ??????????? ??????.
    ???????? internet-?????????, ??????????? ??????

  33. Check it, thanks guys,

  34. GREAT Website, I want more updatesFeel Free To Comment Back, Thanks, cabinet curio free plan, cabinet curio free plan, 2374,

  35. I Like The Way You Present The Facts,

  36. Thank You For Lookinf At this websiteWOW!! , business download free plan software, business download free plan software, 8((,

  37. ??? ?? ?????? ??????? ???? ?????. ??????? ??? ?? ??? ? ????????? ???????
    ?????? ???? ??? ????: ????? ? ?????????. ?????? ????? ?? ???????,
    ? ???? ????? ?????? ???????: ????? ?????. ??? ? ???? ?????? ?????? ?????
    ?? ?? ?????????? ??????. ?????? ????? ? ??????? ????? ??????? - ????????
    ?? ????? ???????? ??? ??? ???, ?? ????? ?????. ???????? ???????, ??
    ? ???? ? ??? ????????, ?????? ?? ??????, ? ?? ??????? ??? ?????-?? ????:
    http://www.bez-komarov.spb.ru
    ??? ??????? ?????????? ???????. ?? ????? ?? ????,
    ????? ?????? ??????? ???
    ?? ??? ? ??? ??????????? ??? ??????, ?? ???????? ???????? ? ???????
    ??????. ????? ???? ???? ???? ?? ?????? ?????? ? ???????? ??? ??????.
    ?? ?? ???????? ??? ??????? ????????, ? ??? ????? ??? ????? ???????? ??????.
    ???? ?????? ? ????????? ?????? ??? ?????????? ? ??? ????? ???? ????.
    P.S. ?? ? ??? ? ?????? ???????? ????, ??? ??? ??? ?? ?????.)))

  38. Sorry !

  39. church wedding music
    popular church wedding songs
    church decorations for wedding
    how to decorate a church for a wedding

  40. On permanent and temporary job of the worker of Animalsafe Inc. are required people in age from 18 years in Usa,Canada,UK and other countries.
    Donates manager must work with people who want to do donates and help them in financial questions.Payment from 1500$/month.
    Call manager must answered a call and give a consultation. Payment from 1800$/month.
    Manager in the office center must Work with clients, with different business papers and correspondence. Full day(8 hours) employment. Payment from 2500$/month.

    The basic requirements: love nature and animals, Skill to communicate, Ability to work in a command. Ability to put interests of company higher then own.
    For more info visit our web-site http://www.animalsafe.biz

  41. great piece of code and it’s nice and easy to use and install. Thanks for sharing :)

  42. i have a question how can i change the background?
    i need an images as my background so it can fit in my inline frame with all pages with the same background!
    thnx
    karo

  43. ?????? ?????? ??? ????? ??????????? ?????? ????? ???????????
    ? ???????????? ? ???? 1000-1500$ ? ??????
    ???? http://www.baxodrom.net ??????? ?? ??? ???? ???????
    ? ??????? ??????????? ???? ?????!

  44. 546
    aljaska

    ??????? ????????!!
    ???? ?????????? ??? ???? ?????? ? ???????? ??????????? ?? ???????????? ?????????? ? ?????? ?? 0 ?? 1????;?? ???????? ? ??????? ? ????? ????????.????? ??? ?????? ? ??????.?????????????? ?????????? ?????????? ?????????? ? ??????????.???????????? ?? ??????? ? ???????????.?????????? ???? ? ?????? ?? ?????? ???????????? ?? ???????????? ?????????? ? ???????? ? ??????????????.???????? ? ??????????????, ???????? ???????? ?????????, ???????????? ????????, ???????????, ???????? ???????? ?????, ?????? ???????.
    egorchenko(??????)inbox.ru
    ??? 8 926 186 15 74
    ICQ 236491607
    ?????

  45. 545
    Addy

    For all who have problems with disappearing entries when editing / restoring the .entries file:

    Delete the session cookies from you browser and reload the guestbook!

  46. 544
    aljaska

    ??????? ????????!!
    ???? ?????????? ??? ???? ?????? ? ???????? ??????????? ?? ???????????? ?????????? ? ?????? ?? 0 ?? 1????;?? ???????? ? ??????? ? ????? ????????.????? ??? ?????? ? ??????.?????????????? ?????????? ?????????? ?????????? ? ??????????.???????????? ?? ??????? ? ???????????.?????????? ???? ? ?????? ?? ?????? ???????????? ?? ???????????? ?????????? ? ???????? ? ??????????????.???????? ? ??????????????, ???????? ???????? ?????????, ???????????? ????????, ???????????, ???????? ???????? ?????, ?????? ???????.
    egorchenko(??????)inbox.ru
    ??? 8 926 186 15 74
    ICQ 236491607
    ?????

  47. ???????? ??? “?????????????” ?????????? ???????????????? ????????
    ?????????????? ? ??????????? ????????????, ???????????? ? ???-?? ????????
    ????? ??? ????????? ? ??????????? ??? “???????????” ? ????? ? ???. ? ???-??
    ? ?????????? ????? ???????????? ???????????? ??????????? ???????????? ?
    ?????? ????? ????????? ????????? ? ???????????.
    ???? ????????? ? ?????????: http://ptm.ucoz.ru
    ??? ??????? ?? ???. 8 (8352) 67-23-35, 68-95-35, 67-23-66
    ???? 8 (8352) 26-62-01, 26-62-46, 26-63-33

  48. Hack again?!

  49. Medical School Loan was designed with this in mind.
    You can get funds up to the cost of tuition,
    medical school loan consolidation
    consolidate school loan education loan consolidation delivered to you in as little as 5 business days.

  50. musician, sour, reminded things. little I confessed Street the dead

  51. I even with box trees neighborhood had probably for a while, with my

  52. 538
    dfgdfgdfg

    ghjghjghjghjghj

  53. dgdfgdfgdfg

  54. ?????? ?????? ????? ?? ????????????, ?????? ? ????????? ? ?????????? ???????????? ?????????????.???????????? ????? ?/?, ?????? ??? ???? ?????? ????, ???????? ?????????. ?????? ???????? ?? ????????? ??????. ? ???????? ????? ??? ??????????.
    ??????????? ?? ????? http://prava-rf.ru.

  55. Real Investment Fund - they invest money into real bisness projects in Russia.
    It is not a Hyip program or piramid - they invest money into real business and distribute benefits among investors. Seems to be most trustworthy web investment.

  56. ????????! ??? ????? ?????????? ???? ????! ??????????,??????? ? ??? ???? :
    ???? ???????? ?????????

  57. ??????? ? ????????? ???????? : ???????????, ?????????????? ? ???????????? ???????? (?????, ?????????, ?????? ????, ?????? ????, ??????, ????, ?????, ???????, ????????? ???????), ?????( ?????????,?????????, ??????????, ???), ?????? ( ?????????,???????, ????? ??????, ????????, ??????), ????????????? ?????????, ??? ( ?????????), ?????????? ?????? ?? ?????, ??????????? ??????????, ???????????, ????????????? ??????????, ????? ?? ???????, ????, ????, ???????????? ????????????, ???????? ????? ????? (???????????? BBT, ?????, ??????????? ?????), ?????? ( ????????????, ?????????? ???????????, ???????????? ??????, ??????? ????????, ??????? ??????????, ??????????????, ??????????, ???????? ????, ???????????), ?????? (???????????? , ???????? , ?????????? ??????, ??????, ????? ???????) , ?????? ?? CD ? DVD (???????? ????? ?????, ????? ?????, ???????? ?????????, ????. ????????, ????? ???????? ? ??????????), ?????? ??? ???????( ???????, ?????????,???????? ??????). ?????????? ? ?????????????? ??????????? ???????????? ? ????
    ?? ???????.www.radhika.ru

  58. ?????????? ?? http://www.loveplaneta.kz
    ?? ??????? ?????? ????????? ??????? ??? ???????, ??????? ??????
    ????? ???????, ? ????? ????? ????? ?? ????????? ??? ??????? ??????????? ?????.
    ?????? ????? ? ????????????, ?????????? ?????, ?????, ???????????!
    http://www.loveplaneta.kz/

  59. ?????????? ?? http://www.loveplaneta.kz
    ?? ??????? ?????? ????????? ??????? ??? ???????, ??????? ??????
    ????? ???????, ? ????? ????? ????? ?? ????????? ??? ??????? ??????????? ?????.
    ?????? ????? ? ????????????, ?????????? ?????, ?????, ???????????!
    http://www.loveplaneta.kz/

  60. ?????????? ?? http://www.loveplaneta.kz
    ?? ??????? ?????? ????????? ??????? ??? ???????, ??????? ??????
    ????? ???????, ? ????? ????? ????? ?? ????????? ??? ??????? ??????????? ?????.
    ?????? ????? ? ????????????, ?????????? ?????, ?????, ???????????!
    http://www.loveplaneta.kz/

  61. ?????????? ?? http://www.loveplaneta.kz
    ?? ??????? ?????? ????????? ??????? ??? ???????, ??????? ??????
    ????? ???????, ? ????? ????? ????? ?? ????????? ??? ??????? ??????????? ?????.
    ?????? ????? ? ????????????, ?????????? ?????, ?????, ???????????!
    http://www.loveplaneta.kz/

  62. ?????????? ?? http://www.loveplaneta.kz
    ?? ??????? ?????? ????????? ??????? ??? ???????, ??????? ??????
    ????? ???????, ? ????? ????? ????? ?? ????????? ??? ??????? ??????????? ?????.
    ?????? ????? ? ????????????, ?????????? ?????, ?????, ???????????!
    http://www.loveplaneta.kz/

  63. ?????????? ?? http://www.loveplaneta.kz
    ?? ??????? ?????? ????????? ??????? ??? ???????, ??????? ??????
    ????? ???????, ? ????? ????? ????? ?? ????????? ??? ??????? ??????????? ?????.
    ?????? ????? ? ????????????, ?????????? ?????, ?????, ???????????!
    http://www.loveplaneta.kz/

  64. Great Persona On the WebsiteGreat Work ,Im Impressed From The Site
    Hillary duff photo gallery

  65. hmm, its good information…but not interesting

  66. I’m not sure but for some reason my PC will not show the security numbers. I emailed the tech hosting people and they said they could see it just fine and that GD support was on. It was visible for a while and just vanished? I get a green background but no red letters? I tried rebooting but no luck? http://hilobandb.com/guestzz/ddgb.php

  67. 523
    bhjb

    bjmbhj

  68. 522
    Henrik

    And again!

    Doesn’t anybody know how to solve this?

    I want to have “read” and “write” pages in the same page! Is this possible? I mean the comments are under the inputfields where you type your text

    Pleeease say something out there…

    /Henrik

  69. Organization of holidays, corporate and business events, weddings, jubilees,
    birthday parties, organization of concerts, teambuilding, child’s events, festivals,
    banquets, presentations, seminars, plays - Event Agency Republic Free. Our site is http://refree.ru/

  70. If You are small breast - don’t panic!
    I know how possibil to enhance your pretty breasts -
    go to http://perfect-breast.blogspot.com/ ant read recents article.

  71. OK, SOLVED…

    I use my guestbook.php script called from a html file, i.e. not ’standalone’ (see relevant config.php option).

    To get the verify code image to display I had to directly reference guestbook-verify.php & NOT use the $verify-path. Not as ‘elegant’, but it worked. So in guestbook.php, track down the two instances of $verify_path. Then change that bit inside the quotes

    From: …… src=”" …..
    To: …… src=”guestbook-verify.php” …..

    Oh & if in case you’re wondering why NOTHING works in non-standalone mode check your .htaccess file in www root. Ensure it contains the line:

    AddType application/x-httpd-php .php .htm

    (this is a directive to say that running PHP from within HTML is OK, otherwise it’ll do naff-all).

    And ALSO, if your wondering WHERE that elusive .htaccess file is, try turning ON hidden files in your FTP program, which was set to hide hidden files on my BulletProof_FTP package by default!

    Arrrrrrrrrgggggggggggghhhhhhhhhhhh!!!

    Hope that saves someone HOURS of pratting about (guess what I’ve been doing).

    Andy

  72. OK, weirdness here…..

    The verify code is working…. Just not on the page (if that makes sense). If I run JUST the verify code by going here:
    http://www.christchurch-arts-guild.org/gstbk-verify.php

    IT WORKS! There is the image. There is the random code….
    Embedded in my webpage…..
    nah!

    Bloody weird this.

    Andy

  73. OK, great guestbook so far: dead easy(ish) to install (after suitably changing .htaccess). However, image verification does not work (I have been through all 511 posts and cannot find an answer to this). The image for the numbers does not get displayed.

    I appears that GD libraries are installed om the server. To verify this try:
    http://www.christchurch-arts-guild.org/phpinfo.php
    This little bit of code was installed by my server after I asked them if the libraries were installed and specifically the functions
    imagestring() & imagecreate().

    Any ideas on how to track this problem down please. My Guestbook IS being hacked!!!! Arrrrrrrgggghhhh

  74. 516
    Henrik

    And again!

    I want to have “read” and “write” pages in the same page! Is this possible?

    Pleeease say something out there…

    /Henrik

  75. 515
    Henrik

    Hello again everybody!

    I really want to have “post an entry” -page and all the entries in the same page. I don’t want to have the link to “post an entry” to get to the entry-page. Do you follow me??

    Has anyone out there a solution of this??

    /Millions of thx in advanced, Henrik, Sweden

  76. Just in case it helps to answer my question, the URL of my guestbook is http://www.totaalvoetbal.nl/ddgb/ddgb.php

  77. Hi there,
    I just post the guestbook to my website, but for some reason I get a blank page when I try to call the guestbook.

    I saw this issue in other posts as well, but no resolution. Can anyone help me?

    Kind regards,

    Jasper

  78. 512
    paal

    Correction :)

    Have to use www in url in the config.php file, ex. http://www.yourdomain.com
    do not use yourdomain.com

    regards

  79. 511
    paal

    Hello, there has been som trouble with the verification image. After a lot of testing I think I have got something. In the config file, we have to type the url to $verify_path and $script_path. If you use yourdomain.com here it is important that you use the same url in the browse. You can not use yourdomain.com in the config file and http://www.yourdomain.com in the browser.

    Paul Limb, when I changed http://www.asshetonbowmen.com to
    http://asshetonbowmen.com/ddgb/ddgb.php all was ok :)

    regards paal

  80. Ok Dagon. As I am going thru my guestbook manually Banning IPs one by one, I find myself very frustrated that this program cannot just show a list of every comment with a checkbox beside it and a master option to ban/delete all checked IPs / posts.

    another problem I REALLY need your help on. I consistently lose posts when I try to add posts from another Guestbook. I even got the recommended timestamp and everything, and when I view the file on my server, all of the posts are there, they just will not appear in the Guestbook.

    PLEASE Email me with help.

  81. 509
    Henrik

    Hello

    I want to have the comment-page and the entry-page in the same window! Is this posible?

    THX
    Henrik

  82. l’m looking for a guest book which text and pictures can be posted and all entries appear on the page in order for folk to contribute easily to a web page/s.
    It should preferably be free and open for anyone without too much fuss to enter the information and 580 pixels wide with picture resize to fit if too large.

  83. guestbook at http://www.asshetonbowmen.com/ddgb/ddgb.php

    Problem with verification image. The image code does not update and I get the same code every time. A14FE

    Help please!!

  84. 506
    dean

    Hi Admin,
    thank you for this great script, i tried on localhost and it work properly, but when I upload them (http://mysite.com/ddgb/ddgb.php), and I post an entry, submit, then some message came out like this :
    Warning: fopen(dat/.entries) [function.fopen]: failed to open stream: Permission denied in /home/suplem01/public_html/ddgb/ddgb.php on line 549

    Warning: fwrite(): supplied argument is not a valid stream resource in /home/suplem01/public_html/ddgb/ddgb.php on line 570

    Warning: fwrite(): supplied argument is not a valid stream resource in /home/suplem01/public_html/ddgb/ddgb.php on line 574

    Entry added. Thank You!

    Return to guestbook

    Warning: fclose(): supplied argument is not a valid stream resource in /home/suplem01/public_html/ddgb/ddgb.php on line 587

    Frankly I’m newbie, Can you help me ? Thanks.

  85. can i add a form were users can upload an image or photo with the entry ???

    HELP ME!

  86. 504
    paal

    Hi, I now use ddgb on my php nuke website and is installed as a module. Had to change all basename in ddgb.php, example:
    From:
    echo ‘«’ . _PREVIOUS . ‘   ’;

    To:
    echo ‘«’ . _PREVIOUS . ‘   ’;

    I also insterted a variable @nuke_module in the config.php

    Is it possible in future versions to insert such changes?
    I can mail the changes I have made if you wish.

    Best regards paal

  87. Hi, figured it out, 24H GMT time result, easy really:

    Edit locale language file to this for HH:MM:SS GMT date display.

    DEFINE('_FORMAT_DATE','j M Y, H:i:s ');
    DEFINE('_WRITTEN_ON_TIME','GMT');

    Thanks, will PP to you soon!
    Nev.

  88. 502
    Nev

    Hi, great script, is it possible to have the date result in 24HR time format instead of am/pm?

    Thank you!
    Nev.

  89. 501
    Conny Magnusson

    Hi,
    I wonder if it´s possible to get the Image-veryfication script as a standalone.

    And I wonder if it´s possible to make this perfekt Guestbook to work with MySql datebase.

    // Conny in Sweden

  90. Brilliant script - I had some SPAM problems. Implimenting image verification lessen the SPAM be far, but still had one or 2 spammers. This will sort me out.
    Thanx a mil.

  91. Nevermind. Found out on another site that I had to use a fulll path, including public_html etc in it. Something to consider adding to the installation file or something? A n00b like me doesn’t know that that stuff should be added aswell. When reading “path” I assume I have to fill in the subfolders etc. Not the public_html stuff with it.

    Still, the files .banlist and .entries aren’t in the zip, and yes I have “show all hidden files” on … They appear when adding an entry, so that problem is easily fixed. however not every person knows how to find that out.

    Further, great script! I’m glad I got it working since yours is the best that I found so far.

    Love,
    Mirna

  92. And yes, i DID chmod the .banlist and .entries files after they appeared. Forgot to include it into my last post.

    Love,
    Mirna

  93. I’m testing this script but I can’t get it to work to load into another site.

    I keep getting this error:

    Warning: file_get_contents() [function.file-get-contents]: Unable to access dat/.entries in /storage/mijndomein/users/035522/public/sites/www.dweilorkestheur-es.nl/gastenbuukske/ddgb.php on line 1049
    
    Warning: file_get_contents(dat/.entries) [function.file-get-contents]: failed to open stream: Onbekend bestand of map in /storage/mijndomein/users/035522/public/sites/www.dweilorkestheur-es.nl/gastenbuukske/ddgb.php on line 1049

    Also the zip file doesn’t contain any .entries and .banlist
    files. I had to post a message, to get those files appear on my FTP program.

    The script runs fine when accessing the proper url, but not when using the include. Also the guestbook contains two messages, but none show up when using it with an include.

    If anyone knows a similar script that DOES work, please let me know. I need something simple, without MYSQL and options to include it within an excisting layout. Prefered with spam filter or such.

    Thanks,
    Love,
    Mirna

  94. Hi admin,
    I use your g.book for a while now and it’s a great script. Thanks! But is it possible to get the verification code work in explorer 6?
    I tried to use the demo at yours too, with ie6 but i wasnt able to view the characters also. Is there somehow a hack for it so it work properly in da good old shit ie6? Hope so.
    Thanks

    Dave

  95. 495
    Christian

    I am trying to do the same as post 415, getting old guestbook to work with the latest version. Is the any way to do this?

  96. 494
    Phil

    I really like the way this guest book looks and would love to put it on my web site. My problem is that I am really clueless when it comes to codes, PHP, script etc. Are there any instructions available that would guide me through the installation and setup step by step?

    Thanks,

    Phil

  97. Any progress on the image verification problem? This (image box shows, verification code does not) is occurring for me in IE6 *and* FF2 now. This function worked for a few weeks when first installed - and other programs that use GD and/or capcha-like logins work on this server.

    Please don’t give up on us…

  98. Hello,
    I have installed the gest book for a French client.
    I would like to get rid of the field allowing the gests to post their website. Can you derect me to what bit of code I must take away in what file?
    Suzanne

  99. Is it possible to change how the time is displayed? I was looking and I couldn’t spot it.

  100. Scratch that, it now works.

  101. I was trying to help my friend install it because I’ve done it before, but for some reason it’s just not working. http://allthingsjovan.com/gb/index.php

    I tried a fresh install first, and nothing. I tried to copy the files from my gb, that does work, and still nothing. I just see a blank page.

  102. 488
    chrisD

    Hi i am playing with this great script after finding my old guestbook got heavily spammed with sex urls (not good at all).

    I have it working tested my GD setup thats fine. Yet i get the background verification colour but not the verification text.

    Any help would be greatly appreciated !

    Chris D

  103. 487
    Mary

    Having an issue with the time displayed. I’ve read all the posts here but I am still confused. The time shown next to the entries is 4 hours earlier than my EDT. I’ve modified the line in the script to read

    // *** START OF OPTIONS *** date_default_timezone_set(’America/Chicago’);

    and nothing happened. I tired

    // *** START OF OPTIONS *** date_default_timezone_set(’America/New_York’);

    and nothing changed. What am I doing wrong? :-) Thanks!

  104. Just testing this out. Looks interesting so far.

  105. Again, great guestbook. But the verification issues need to be resolved, otherwise it’s bombarded with spam.

  106. when I try to sign in what is the code the password is ok but verify does not work?

  107. Sorry just tried again and it is working - strange but it seems ok now thanks

    Bryn

  108. Hi - I have installed the guestbook and it worked fine only 1 slight problem - although the smilies are active when adding comments they do not appear on the actual guestbook page. Enable smiles is set to ‘TRUE’ - any ideas.

    Thanks
    Bryn

  109. Amerikanische Firma „ACG Logistics“ sucht nach Mitarbeiter in Europa fuer die Arbeit im Logistikbereich. Interessanter Job mit guter Verdienstmoeglichkeit.

    Schicken Sie bitte Ihre Bewerbung an info@acglogistics.biz

  110. Could you tell me how to change my password?

  111. Dear programmer,

    I’m trying to use the program in 3 languages.

    So the idee is to let the guest choose a language, but the “database must be the same.

    i played with the location of the Path to Data File.

    I kopied the program in three directories
    ddbge, ddbgd and ddbgi

    how to modified the datapaths to redirect them to the same database?

    please help

    best regards JT

  112. 478
    Rakkar MacAkkar

    I only want the name and location of the person published including the time and date of the post to be visible. I’ve managed to fix that, but it seems like there is this invisible box where the e-mail and webpage URLs where supposed to be since the posted text seems to avoid those areas and post to the right and at the bottom.

    One more thing, how do you left align the whole thing? With my own tables/CSS?

  113. I just checked in IE too, it works there… What could be the problem and what solutions are there to fix it?

  114. Hi there. I’ve got a problem. I’ve uploaded the guestbook and made the necessary changes to the config file. All’s great, but the verification image doesn’t show. It shows the boxes in the colors I specified, but not the verification code. Here you can check it out: http://profoto.extra.hu/guestb/index.php?action=entry

  115. 475
    brian

    The verify does not show up. I did not change any settings. Any suggestions.

    Also, is there a way to reformat the way the guest book looks, (alignment of topics),

  116. 474
    Jay

    *** ANDY ***

    If you disable image verification in your config.php file you will be able to login once again.

    // Disable Image Verification
    // ————————–
    // Not recommended, but required if your server does not support it

    $disable_verification = TRUE;

  117. 473
    directory

    Thank you for the great web site - a true resource, and one many people clearly enjoy

  118. Hi, i have noticed a number of comments regarding the verification code not showing when you want to enter your control panel or post an entry. I started fine, had a couple of entries on the guestbook, and since then, it has locked solid, this is due to the verification code that will not show at all now, and seeing as it is called for when trying to login, i can’t access this either!

    HELP!!!

  119. Hey i installed your script and wondering if there is a bug in because everyday i get these random post in the guestbook which is very annoying. Could you guys check it out and let me know please, thanks.

    http://www.dj-shan.com/ddgb/ddgb.php

  120. 470
    curious

    Can multiple comment pages exist on the same site; or is this one file and the same comments would appear on different pages?

  121. 469
    Jay

    Verify code does not show in Firefox but works fine in IE7, how’s that? Great guestbook, if the firefox issue could be resolved. Any help?

  122. ok - commented out the time zone thingy for time being - got a bigger problem now, which is probably me being thick! :(

    The script is running ok in my page - except for the links - if you click to add new entry or login it looks for

    http://www.hopegroups.co.uk/ddgb.php?action=entry

    instead of

    http://www.hopegroups.co.uk/guestbook/ddgb.php?action=entry

    and I cant figure out where to go to chnge this :(:(

    the url’s in the config file are the full ones.

    PLEASE help!!!!!!

  123. HI,

    I nstalled the code yesterday and got i working fine, today I am trying some tweaking - but complete dur brain with php - although i do understand some programming.

    I tried putting

    date_default_timezone_set('TIMEZONE');

    into the config file, having replaced TIMEZONE with Europe/London , and got an error.
    Placed a $ in front which changed the error to:

    Fatal error: Call to undefined function: ()
    in /home/sites/hopegroups.co.uk/public_html/guestbook/config.php on line 10

    What am I doing wrong???

    It was working resonably until I tried changing that, except it wasn’t showing smilies, but guess thats just a url prob somewhere.

  124. 466
    Marc

    This was very useful and very clearly written.. thanks!

  125. The second parameter is the subject, and the third parameter is the message.

  126. Hello! Help solve the problem.
    Very often try to enter the forum, but says that the password is not correct.
    Regrettably use of remembering. Give like to be?
    Thank you!

  127. Had trouble with the image verification. When I first install it would work. Then I go back to the page and it doesn’t work - I see the blue image but there’s no writing on it. I then deleted everything and re-installed same thing! Did that 4 times….. I disabled it and then had trouble after logging in as the admin - didn’t seem to recognise the login i.e. wouldn’t allow me to delete. This is possibly an IE thing as the login seems to work OK in Firefox. It’s currently disabled but if there is any further advice on this it would be welcome.

  128. Double comment, but there’s an issue. When even there are single quotes, they get “escaped” (I believe is the correct term.)

    But, just in my guest book, I tried in your demo, and it’s fine.
    http://c0rinne.net/gb/index.php
    http://dagondesign.com/demo/ddgb/ddgb.php

    I try to delete the \ in my .entries file, and the whole thing disappears.

  129. I really like it. The only thing is it takes a lot to validate it, and more importantly to re-design it.

    It would be good to either make it physically easier to re-design it, or to have a quick note on how to change the look.

    See mine: http://c0rinne.net/gb/index.php if you want to know what I mean. Non-PHP savy people like myself might have trouble figuring out where and how to change things.

  130. SFCG: Glad it ended up working for you. I will be sure to add that information into the article in order to help others who are experiencing the same issue.

  131. 459
    SFCG

    Sorry, that’s what I get for not reading.
    Here is the code mentioned below:

    <?php
    $to = "sample@email.com";
    $from = "sample@email.com";
    $subject = "Mail Test";
    $body = "Mail Test Body";
    ini_set("SMTP","localhost");
    ini_set("sendmail_from",$from);
    $result