[thelist] Preventing spam spiders from reading mailto links.
Paul Bennett
paul at teltest.com
Tue Dec 9 12:41:23 CST 2003
Daniel Schlyder wrote:
>
>
>In your page:
>
><p><form method="post" action="mailto.php" style="display: inline">
> <input type="hidden" name="u" value="username" />
> <input type="hidden" name="d" value="domain" />
> <input type="image"
> src="email-image.php?u=username&d=domain&font=4"
> alt="username at domain"
> style="vertical-align: middle" />
></form></p>
>
>
>mailto.php:
>
><?php
>
>if (isset($_POST['u']))
>{
> header('Location: mailto:' . $_POST['u'] . '@' . $_POST['d']);
>}
>
>?>
>
forgive me if I've missed something, but if you're going through all
this trouble why not just use the php mail() function on this script?
--
------------------------------
Paul Bennett
Internet Developer
Teltest Electronic Design
------------------------------
Email: paul at teltest.com
Phone: 64 4 237 4557
Web: http://www.teltest.com
Wap: http://wap.teltest.com
More information about the thelist
mailing list