Hide email in guesbook v1.4

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
rjkhlaif
Posts: 3
Joined: Sun Jun 04, 2006 6:53 pm

Hide email in guesbook v1.4

Post 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
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post 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

}
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image 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
rjkhlaif
Posts: 3
Joined: Sun Jun 04, 2006 6:53 pm

Still not working

Post 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
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

I suggest you do the changes in the ORIGINAL gbook.php, who knows what else you deleted in your edited version :wink:
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image 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
rjkhlaif
Posts: 3
Joined: Sun Jun 04, 2006 6:53 pm

Its working

Post 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
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post 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
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image 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
Post Reply