针对垃圾邮件发送者对电子邮件进行编码

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了针对垃圾邮件发送者对电子邮件进行编码相关的知识,希望对你有一定的参考价值。

this is not the ultimate secure way, but it's at least not displaying the email link
  1. function encode_email($e)
  2. {
  3. for ($i = 0; $i < strlen($e); $i++) { $output .= '&#'.ord($e[$i]).';'; }
  4. return $output;
  5. }

以上是关于针对垃圾邮件发送者对电子邮件进行编码的主要内容,如果未能解决你的问题,请参考以下文章