| 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
 <head>
 <title>eyesight webwerkstatt: E-Mail Encoder-Class</title>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
 <link href="styles.css" rel="stylesheet" type="text/css">
 </head>
 <body leftmargin="10" topmargin="10" marginwidth="10" marginheight="10">
 <?
 include ("email_encoder_class.php");
 $crypt_email=&new email;
 
 // 1st Method
 // Output the Cryptet Emailadress into the page
 $email=$crypt_email->emailcrypter("[email protected]");
 $crypt_email->output ($email,"","link");
 // Output the Cryptet Emailadress into the page
 
 echo "<br>";
 
 // 2nd Method
 $var=$crypt_email->output_var ($email,"","link");
 echo $var;
 // Output the Cryptet Emailadress into a var and display with echo()
 // It's a method to use the Cryptet Emailadress for other Operations
 
 // 3rd Method
 $text="[email protected] - http://www.yourdomain.com";
 echo "<p class=\"text\">";
 echo $crypt_email->replace_in_text ($text,"link"); // replace_in_text (The Text String, The css-class for the Link)
 echo "</p>";
 // Extract Emailadresses and URL's from $text with RegEx.
 // Crypt the foundet Emailadresses into ASCII-Code and transform they in mailto-Links
 // Transform the foundet URL's in Links without http://
 // Output the transformed Textstring into the Page
 ?>
 </body>
 </html>
 |