QQ e-mail-PHP implementation qqlist registration automatically get mailing list and registered members

Source: Internet
Author: User

I want to fill in the QQ mailbox, automatic registration submitted to qqlist, at the same time registered members of the site, I will not PHP, only HTML, ask God to help see how to solve ha.

Action= "Http://list.qq.com/cgi-bin/qf_compose_send, this is the official code given, and find var nId =" f04a1094333d8d1db822c2d7f018786a447c4de2e126600c ",

The following is register.php to QQ mailbox as the user name of the PHP code.

if ($submit 1) {

$guestexp = ' \xa1\xa1|^guest|^\xd3\xce\xbf\xcd|\xb9\x43\xab\xc8 ';

 $regusername = trim($regusername); if(preg_match("/^\s*$|^c:\\con\\con$|[%,\*\"\s\t\<\>\&]|$guestexp/is", $regusername)) {        show("错误:QQ邮箱不正确,请返回重新注册", 'back');  } $query = $db->query("SELECT uid FROM member WHERE username='$regusername'"); $regsername = dhtmlspecialchars(stripslashes($regusername)); if($db->num_rows($query)) {        show("错误:QQ邮箱{$loginusername}已经被注册,请返回重新注册", 'back'); }

If you want to get a mailing list by customizing Qqlist, here's a reference example

Reply content:

I want to fill in the QQ mailbox, automatic registration submitted to qqlist, at the same time registered members of the site, I will not PHP, only HTML, ask God to help see how to solve ha.

Action= "Http://list.qq.com/cgi-bin/qf_compose_send, this is the official code given, and find var nId =" f04a1094333d8d1db822c2d7f018786a447c4de2e126600c ",

The following is register.php to QQ mailbox as the user name of the PHP code.

if ($submit 1) {

$guestexp = ' \xa1\xa1|^guest|^\xd3\xce\xbf\xcd|\xb9\x43\xab\xc8 ';

 $regusername = trim($regusername); if(preg_match("/^\s*$|^c:\\con\\con$|[%,\*\"\s\t\<\>\&]|$guestexp/is", $regusername)) {        show("错误:QQ邮箱不正确,请返回重新注册", 'back');  } $query = $db->query("SELECT uid FROM member WHERE username='$regusername'"); $regsername = dhtmlspecialchars(stripslashes($regusername)); if($db->num_rows($query)) {        show("错误:QQ邮箱{$loginusername}已经被注册,请返回重新注册", 'back'); }

If you want to get a mailing list by customizing Qqlist, here's a reference example

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.