Page 1 of 1

Hide email in guesbook v1.4

Posted: Sun Jun 04, 2006 6:59 pm
by rjkhlaif
Script URL: http://www.phpjunkyard.com/php-guestbook-script.php
Version of script: 1.41

Hi there, ive got the guestbook all working fine, but cant find a way of hiding my guests email.

I tried deleteing the following line (Line 363) from gbook.php:

<input type="hidden" name="email" value="<?php echo $email; ?>">

Which works fine and does not view the email address, but i would still like to know as an admin the email address of the guest when notified by email.

Thank You

Posted: Mon Jun 05, 2006 2:45 pm
by Klemen
Hi,

You should keep line 363 and rather delete lines 766 - 769 (starts with

Code: Select all

if ($email)
and ends with

Code: Select all

}

Still not working

Posted: Tue Jun 06, 2006 8:30 pm
by rjkhlaif
Hi there, thank you for your reply. I put back the lines i deleted, and removed the lines as advised but i still get no email entries when receiving the emails!
Any idea!!

Thank You

Posted: Tue Jun 06, 2006 9:02 pm
by Klemen
I suggest you do the changes in the ORIGINAL gbook.php, who knows what else you deleted in your edited version :wink:

Its working

Posted: Tue Jun 06, 2006 9:15 pm
by rjkhlaif
Thank You very much, it was my mistake i uploaded the original gbook.php and removed the lines you advised me and its all working now.

Thank You very much for your help and great php files.

Best Regards
Rami Khlaif :D :D :D :D :D :D :D

Posted: Wed Jun 07, 2006 4:52 pm
by Klemen
You're welcome.

If you like GBook please consider rating it or (even better) writing a short review at
http://php.resourceindex.com/rate?05414
and/or
http://www.hotscripts.com/Detailed/37192.html

Regards