summaryrefslogtreecommitdiff
path: root/recaptcha-php/example-mailhide.php
diff options
context:
space:
mode:
Diffstat (limited to 'recaptcha-php/example-mailhide.php')
-rw-r--r--recaptcha-php/example-mailhide.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/recaptcha-php/example-mailhide.php b/recaptcha-php/example-mailhide.php
new file mode 100644
index 0000000..e389eb9
--- /dev/null
+++ b/recaptcha-php/example-mailhide.php
@@ -0,0 +1,17 @@
+<html><body>
+<?
+require_once ("recaptchalib.php");
+
+// get a key at http://mailhide.recaptcha.net/apikey
+$mailhide_pubkey = '';
+$mailhide_privkey = '';
+
+?>
+
+The Mailhide version of example@example.com is
+<? echo recaptcha_mailhide_html ($mailhide_pubkey, $mailhide_privkey, "example@example.com"); ?>. <br>
+
+The url for the email is:
+<? echo recaptcha_mailhide_url ($mailhide_pubkey, $mailhide_privkey, "example@example.com"); ?> <br>
+
+</body></html>