惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Simon Willison's Weblog
Simon Willison's Weblog
G
Google Developers Blog
Spread Privacy
Spread Privacy
I
InfoQ
V
V2EX
S
Schneier on Security
小众软件
小众软件
C
CERT Recently Published Vulnerability Notes
博客园 - 聂微东
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Stack Overflow Blog
Stack Overflow Blog
T
Threat Research - Cisco Blogs
L
Lohrmann on Cybersecurity
Recent Announcements
Recent Announcements
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Attack and Defense Labs
Attack and Defense Labs
云风的 BLOG
云风的 BLOG
The Hacker News
The Hacker News
S
SegmentFault 最新的问题
C
Cybersecurity and Infrastructure Security Agency CISA
NISL@THU
NISL@THU
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
GbyAI
GbyAI
Latest news
Latest news
S
Secure Thoughts
Project Zero
Project Zero
MongoDB | Blog
MongoDB | Blog
I
Intezer
Security Latest
Security Latest
Apple Machine Learning Research
Apple Machine Learning Research
Vercel News
Vercel News
N
Netflix TechBlog - Medium
V2EX - 技术
V2EX - 技术
量子位
T
Threatpost
T
The Blog of Author Tim Ferriss
Y
Y Combinator Blog
T
Tor Project blog
A
Arctic Wolf
Microsoft Security Blog
Microsoft Security Blog
T
The Exploit Database - CXSecurity.com
大猫的无限游戏
大猫的无限游戏
T
Tailwind CSS Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
C
Check Point Blog
博客园 - Franky
Google DeepMind News
Google DeepMind News
The Register - Security
The Register - Security
The GitHub Blog
The GitHub Blog
L
LINUX DO - 热门话题

博客园 - 冷水

[导入]梦幻网站 [导入]2006-5-8 UBB 输入, 简朴方法 与 提示框——Javascript&FORM By Stabx [导入]在网页中插入视频播放代码全集 [导入]表单确认按钮——Javascript函数 [导入]Classical Inheritance in JavaScript [导入]2006-5-7 ASP VBSCRIPT 正则表达式之 替换 URL 与 EMAIL 地址为热链接 By Stabx [导入]各类WEB建设环境开发平台的搭建 [导入]受Ruby on Rails影响的PHP开发框架 [导入]webpartzone无法显示最小化和关闭按钮? [导入]Sam.Data.dll - 同时能访问SQL Server和ACCESS的数据库组件 [导入]也为CSDN Blog加效果 [导入]JavaScript:The World's Most Misunderstood Programming Language [导入]PHP简单的缓存类 [导入]dotText源码阅读(4)--DTO和数据访问 [导入]Asp.net服务器控件编程(2) 来做个热身运动吧 [导入]Asp.net服务器控件编程(1) 开篇、基础 [导入]ASP 字符过滤操作 [导入]ASP ACCESS 数据高级搜索 By Stabx [导入]DotText源码阅读(3)-框架配置体系和反序列化
[导入]php通用检测函数集
冷水 · 2006-05-07 · via 博客园 - 冷水

php通用检测函数集 // ※CheckMoney($C_Money) 检查数据是否是99999.99格式 // ※CheckEmailAddr($C_mailaddr) 判断是否为有效邮件地址 // ※CheckWebAddr($C_weburl) 判断是否为有效网址 // ※CheckEmpty($C_char) 判断字符串是否为空 // ※CheckLengthBetween($C_char, $I_len1, $I_len2=100) 判断是否为指定长度内字符串 // ※CheckUser($C_user) 判断是否为合法用户名 // ※CheckPassword($C_passwd) 判断是否为合法用户密码 // ※CheckTelephone($C_telephone) 判断是否为合法电话号码 // ※CheckValueBetween($N_var, $N_val1, $N_val2) 判断是否是某一范围内的合法值 // ※CheckPost($C_post) 判断是否为合法邮编(固定长度) // ※CheckEx
文章来源:http://blog.csdn.net/arcow/archive/2006/05/07/711598.aspx

posted on 2006-05-07 15:22  冷水  阅读(172)  评论()    收藏  举报