Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Mungnificent Email Addresses



Jim wrote:

> The PHP that showed the page would replace email addresses 
> with the link stuff and trick base-64 URL for the image. 

The code was something like: 

//      Copyright <c> 1999 The Central Ohio Linux User Group.
//      All rights reserved.
//      Released under the GPL, v. 2. See: LICENSE.TXT
...
        if ( $EMail != "") {
list($lll,$rrr) = explode("@",$EMail);
$email = $rrr . "_" . $lll . "~mailto:billg@example.com"; ;
$billg = "mailto:billg@example.com";;
$base64 = base64_encode($email);
                print "Mail:&nbsp;<a href=\"/";
                print "love.php?$base64\">Here</a>\n";
                print "<a href=\"$billg\" border=\"0\">";
                print "<img border=\"0\" height=\"1\" width=\"1\" ";
                print "src=\"/icons/spacers/shared_shim.png\" ";
                print "alt=\" \">";
                print "</a>";
        }

> imagefoo.php decoded the foo variable and generated an image 
> for it. 

and for love.php: http://colug.net/love.txt



Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links