Location: PHPKode > scripts > MailCrypter > mailcrypter/example.php
//	MailCrypter Class Example Usage:


	//instantiate new MailCrypter object
	$crypt = new MailCrypter();

	//echo a scrambled mailto: link
	echo $crypt->addMailTo("hide@address.com");

	echo "<br>";

	//echo as many links as you want
	echo $crypt->addMailTo("someone-hide@address.com");

	//echo the javascript code that descrambles all written links
	//note: you must call writeScript AFTER echoing all the scrambled links on your page
Return current item: MailCrypter