Home > Backend Development > PHP Tutorial > qq邮箱 - PHP实现QQlist注册时自动获取邮件列表同时注册会员

qq邮箱 - PHP实现QQlist注册时自动获取邮件列表同时注册会员

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-06 20:36:23
Original
1422 people have browsed it

我想通过填写QQ邮箱后,自动注册提交到QQlist,同时注册了网站会员,我不会PHP,只会HTML,求大神帮忙看怎么解决哈。

action="http://list.qq.com/cgi-bin/qf_compose_send,这是官方给予的代码,并且找到var nId =”f04a1094333d8d1db822c2d7f018786a447c4de2e126600c”qq邮箱 - PHP实现QQlist注册时自动获取邮件列表同时注册会员qq邮箱 - PHP实现QQlist注册时自动获取邮件列表同时注册会员

以下是 register.php 以QQ邮箱为用户名的PHP代码。

if($submit1){

$guestexp = '\xA1\xA1|^Guest|^\xD3\xCE\xBF\xCD|\xB9\x43\xAB\xC8';

<code> $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');

 }
</code>
Copy after login
Copy after login

如需通过是自定义QQlist获取邮件列表,以下是参考示例

回复内容:

我想通过填写QQ邮箱后,自动注册提交到QQlist,同时注册了网站会员,我不会PHP,只会HTML,求大神帮忙看怎么解决哈。

action="http://list.qq.com/cgi-bin/qf_compose_send,这是官方给予的代码,并且找到var nId =”f04a1094333d8d1db822c2d7f018786a447c4de2e126600c”qq邮箱 - PHP实现QQlist注册时自动获取邮件列表同时注册会员qq邮箱 - PHP实现QQlist注册时自动获取邮件列表同时注册会员

以下是 register.php 以QQ邮箱为用户名的PHP代码。

if($submit1){

$guestexp = '\xA1\xA1|^Guest|^\xD3\xCE\xBF\xCD|\xB9\x43\xAB\xC8';

<code> $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');

 }
</code>
Copy after login
Copy after login

如需通过是自定义QQlist获取邮件列表,以下是参考示例

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template