How to hide admins e-mails?

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
Dog
Posts: 5
Joined: Fri Oct 08, 2004 3:59 pm
Contact:

How to hide admins e-mails?

Post by Dog »

Hi,

When we use "printable version" and "PDF" links, the admins e-mails are show at the files. How could we hide it (protecting against spam) as contact with admins can be made through the FAQ page?

Thanks,

Ricardo
Thorsten
Posts: 15741
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

I don't think that spammers can detect e-mail adresses in PDFs or with javascript opened pages.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Dog
Posts: 5
Joined: Fri Oct 08, 2004 3:59 pm
Contact:

Post by Dog »

I know that. But when some one ask for a print version, for example, admins e-mails are shown. I would like to hide it, if its possible. :wink:

Thanks,

Ricardo
Thorsten
Posts: 15741
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

that should be easy: Just remove the following code:

Code: Select all

<a href="mailto:<?php print safeEmail($PMF_CONF["adminmail"]); ?>"><?php print safeEmail($PMF_CONF["adminmail"]); ?></a>
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply