Re: cvs: pearweb /public_html account-info.php
| From: | Tomas V.V.Cox | Date: | Tue, 30 Apr 2002 14:10:37 +0000 |
| Subject: | Re: cvs: pearweb /public_html account-info.php | ||
| References: | 1 | Groups: | php.pear.cvs |
| Request: | Send a blank email to pear-cvs+get-3651@lists.php.net to get a copy of this message | ||
El mar, 30-04-2002 a las 15:53, Martin Jansen escribió:
> On Tue, 30 Apr 2002 14:11:04 +0200, Jan Lehnardt wrote:
>
> >a semi-intelligent email-collecting crawler should be able to work
> >around this, but is better than no protection at all, so +1.
>
> I commited a patch regarding this, but the address is still visible
> in the <a href="...">. I suggest to either use a contact form
> instead of the mailto-link or to leave everything as it is. (People
> who don't want their adress to be shown can still disable it
> in their account information.)
>
You could do the following:
package-info.php
================
<a href="mailto.php?id=34">Martin Jansen</a>
mailto.php
==========
<?php
include 'pear-database.php';
$email = maintainer::getEmail($id);
header("Location: mailto:$email");
?>
Full spam bots proof :-)
Tomas V.V.Cox