📄 email_protect.php
字号:
<?php # This plugin protects email addresses from getting seen by spambots, # by the cost of additonal effort for real persons, who really want # to mail someone. # # It is __really safe__ because it protects addresses with an request # <FORM> before the real email address gets shown on a page (it seems # impossible to me, that there are already all that intelligent spambots # available, which can automatically fill out a <form> to access the # following page). # The 'cipher' method is really unimportant, when it comes to tricking # automated harvesters. # # Additionally it generates faked/trap email addresses to annoy the # marketing mafia. #-- change these from time to time: define("EWIKI_PAGE_EMAIL", "ProtectedEmail"); define("EWIKI_UP_ENCEMAIL", "encoded_email"); define("EWIKI_UP_NOSPAMBOT", "i_am_no_spambot"); define("EWIKI_UP_REQUESTLV", "rl"); define("EWIKI_FAKE_EMAIL_LOOP", 5); $ewiki_config["feedbots_tarpits"] = "@spamassassin.taint.org,@123webhosting.org,@e.mailsiphon.com,@heypete.com,@ncifcrf.gov"; $ewiki_config["feedbots_badguys"] = "@riaa.com,@whitehouse.gov,@aol.com,@microsoft.com"; #-- text, translations $ewiki_t["en"]["PROTE0"] = "Protected Email Address"; $ewiki_t["en"]["PROTE1"] = "The email address you've clicked on is protected by this form, so it won't get found by <a href=\"http://google.com/search?q=spambots\">spambots</a> (automated search engines, which crawl the net for addresses just for the entertainment of the marketing mafia)."; $ewiki_t["en"]["PROTE2"] = "The page you're going to edit contains at least one email address. To protect it we must ensure that no spambot reaches the edit box (with the email address in cleartext)."; $ewiki_t["en"]["PROTE4"] = "I'm no spambot, really!"; $ewiki_t["en"]["PROTE5"] = "<b>generate more faked email addresses</b>"; $ewiki_t["en"]["PROTE6"] = "the email address you've clicked on is:"; $ewiki_t["en"]["PROTE7"] = "<b>spammers, please eat these:</b>"; $ewiki_t["de"]["PROTE0"] = "Gesch黷zte EMail-Adresse"; $ewiki_t["de"]["PROTE1"] = "Die EMail-Adresse, die du angeklickt hast, wird durch dieses Formular vor <a href=\"http://google.com/search?q=spambots\">spambots</a> (automatisierte Suchwerkzeuge, die das Netz zur Freude der MarketingMafia nach Adressen abgrasen) besch黷zt."; $ewiki_t["de"]["PROTE2"] = "Die Seite, die du 鋘dern willst, enth鋖t momentan wenigstens eine EMail-Adresse. Um diese zu sch黷zen m黶sen wir sicherstellen, da
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -