验证
- 写了几个身份证方面的函数,个人感觉挺有用的,特别是在网络问卷调查时,对个人信息里的身份证进行验证很有用,但是应者寥寥,还是收在自己的blog里算了。 <?php // 计算身......2016-11-25 16:15
- 通过PHP来实现登录验证码功能: <?php session_start(); session_register("login_check_number"); //昨晚看到了chianren上的验证码效果,就考虑了一下,用PHP的GD库完成了......2016-11-25 16:14
- <?php /** *PHP正则验证类 *Code by T.T.R *[url]http://www.Gx3.cn[/url] [url]http://Gx3.cn[/url] *QQ:252319874 */ class regExp { ...2016-11-25 16:14
- 今天无意中想起写验证码数字加汉字,下面是代码比较容易没什么好说 先来看看效果图吧. 还不错吧? <?php Header("Content-type: image/PNG");//生成图片的类型 $str =......2016-11-25 16:14
- crypt() 函数返回使用 DES、Blowfish 或 MD5 加密的字符串。 在不同的操作系统上,本函数的行为不同,某些操作系统支持一种以上的算法类型。在安装时,PHP 会检查什么算法......2016-11-25 16:48
- 数字验证码 <? /* * Filename: authpage.php */ session_start(); // srand((double)microtime()*1000000); $authnum = $...2016-11-25 16:11
- 目前,不少网站为了防止用户利用机器人自动注册、登录、灌水,都采用了 验证码技术。所谓验证码,就是将一串随机产生的数字或符号,生成一幅图片, 图片里加上一些......2016-11-25 16:08
- <?php /* * 文件:chinesechar.php * 作用:汉字数据储存 * 作者:PHP实战群:33918040 - 鱼尾唯一 * 网址:http://bbs.ailf.cn/ http://www...2016-11-25 16:08
- 对 PHP 早期版本的常见批评是不支持模型-视图-控制器(Model-View-Controller,MVC)样式的架构。现在,开发人员可以在许多 PHP 框架中做出选择。“PHP 框架&rd......2016-11-25 16:06
- php验证码程序 验证码 代码 php php 图片验证码 <?php /* @date 20080514 @author hluan //session_start(); class icode { function __co...2016-11-25 16:06
- <?php session_start(); ?> <?php { $authcode = new AuthCode(); if ($authcode->GetUriFileName() == "authcode.php") { $authcode->OutputImg(); } }...2016-11-25 16:05
- <% dim email email=request.form("email") if IsValidEmail(email) then if request("action")="退订" then response.redirect "del_email.asp?email="......2016-11-25 16:05
- <?php session_start(); # 取得随机字符 function getRandStr($length = 4, $mode = 1) { $str1 = '123456789'; $str2 = 'abcdefghijklmnopqrstuvwxyz'; $s...2016-11-25 16:05
- ajax验证文章我以前写过很多哦,下面我再来写一个ajax检查用户名的教程吧,全部贴上来. 这里是界面效果图片,我们主要有三个文章一个reg.php里面几乎是html 代码,一个是......2016-11-25 16:04
- 现在我们把check.js文件代码来看看吧. function c(){ var uid =document.getElementById('uid').value; var pwd =document.getElementById('password').value;...2016-11-25 16:04
- ajax验证用户名二 <?php header("Content-type:text/html;charset=gb2312"); require_once('inc/connect.php'); $xm=isset($_GET['txt'])?$_GET['txt']:'null'; if......2016-11-25 16:04
- ajax 注册验证,今天这个文章有一点怪了,就是验证url 是否能被正常访问哦, <tr> <td height="34" align="center">博客地址:</td> <td height="25" align="cen......2016-11-25 16:04
- <?php /** * 页面作用:常用表单验证类 * 作 者:欣然随风 * 建立时间:2006-3-6 * QQ:276624915 */ class class_post { //验证是否为指定长度的字母/数字......2016-11-25 16:10
- php 实例验证码与登陆实例 <?php session_start(); if($act == "init") { Header("Content-type: image/png"); srand(microtime() * 100000); $login_chec...2016-11-25 16:01
- php动态生成gif图像时遇到了一些问题,现已解决,我用的是php4.05(for win32)+apache3.1.2_win32。 问题一:动态生成gif的程序根本转不起来 我写了一个关于用ph......2016-11-25 16:01