zen-cart网站,模版,采集,二次开发

首页 ? 亚博体育APP ? 亚博app下载 ? 阅读文章

ZenCart通过Contact Us接收垃圾邮件的过滤方案

2014-03-13 01:05 30448 2 发表评论
标签:


最近经常碰到一些通过软件来通过Contact Us进行垃圾外链群发的邮件,虽然我们可以通过在Contact Us增加验证码来解决,但是这样给真正的客户带来了不便

所以我们可以通过简单的关键词过滤来实现,如一般垃圾外链都含有[url=

查找includes\modules\pages\contact_us\header_php.php

    // Send message
    zen_mail($send_to_name, $send_to_email, EMAIL_SUBJECT, $text_message, $name, $email_address, $html_msg,'contact_us');

修改为

    // Send message
    if(!strstr(strtolower($_POST['enquiry']),'[url=')){
      zen_mail($send_to_name, $send_to_email, EMAIL_SUBJECT, $text_message, $name, $email_address, $html_msg,'contact_us');
    }
随机日志

评论 共2条 (RSS 2.0) 发表评论

  1. 亚博体育APP,亚博app下载,但是前台显示的不是轮播效果,而是幻灯片竖着排列的。请问怎么解决?

  2. Felicitas Schrimsher 说道:

    Invite You Join No.1 Affiliate Community? – Become A Successful Affiliate?

    Wealthy Affiliate is a 1.4 million member affiliate community.

    It’s a website that’s designed to help you create website, select niche, generate traffic
    and earn income from sales generated through your website.

    What is The biggest issue you’ve had with previous training programs (or marketing communities)?

    Yes, they get OUTDATED! You don’t need to worry about that in WA.
    yabo88亚博体育app下载地址 New quality information and trainings are added daily including live weekly video training sessions.

    Join Now: https://www.centtip.xyz/elite

    Regards,
    Felicitas Schrimsher

    *You may unsubscribe at any time*: Simply reply “no”

发表评论

  • ?
  • 插入代码

联系我 Contact Me

回到页首