If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Encode emails in Guestbook like this site does!  XML
Forum Index » Support Forum
Author Message
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

*bump*

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Anonymous



These last few days have been my first, can I used the word 'exposure' to php.

Amber 222 recomended that I protenct by visitors email addresses in the guest book and pointed me in the direction of this page.

Step by step I deleted the existing code, copied and pasted the code show at the top of this page and whola, I got the following when I tried to access the guest book:

Parse error: parse error, unexpected T_STRING in /home/stevenx/public_html/guestbook/lib/gb.class.php on line 278

As I result I gave up and reinstalled the original php files.

No protection but at least it is working for now.

Cheers
Steven
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

I'll either upload the pre modified files to my site somewhere or write a better mod instruction.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
memoire
Newbie
[Avatar]

Joined: 25/12/2004 14:29:45
Messages: 2
Location: Japan
Offline

Great Carbonize looking forward to the revised code.

AS I said when logged in as a guest I had a lot of errors with the email code that I didn't know how to handle.

Thanks
Cheers
Steven
[WWW]
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

www.carbonize.co.uk/emailencryption.txt

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Anonymous



Now that I've upgraded my guestbook, all of my e-mail addresses display "username[at]yahoo[dot]com". This is fine.. But what I'd love to do is to replace the "[at]" and the "[dot]" with graphics. (this way the e-mail addresses will LOOK normal, and still be secured from e-mail miners.. Is there an easy way to do this??
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

open up lib/gb.class.php and do a search for [at] and [dot] and simply replace the relevant text with the image link.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum