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

推荐订阅源

V
Vulnerabilities – Threatpost
U
Unit 42
F
Fortinet All Blogs
aimingoo的专栏
aimingoo的专栏
P
Proofpoint News Feed
F
Full Disclosure
月光博客
月光博客
Engineering at Meta
Engineering at Meta
博客园_首页
The Register - Security
The Register - Security
G
Google Developers Blog
The Cloudflare Blog
博客园 - Franky
K
Kaspersky official blog
A
Arctic Wolf
Scott Helme
Scott Helme
C
Cisco Blogs
Hugging Face - Blog
Hugging Face - Blog
C
Check Point Blog
NISL@THU
NISL@THU
AI
AI
D
DataBreaches.Net
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Stack Overflow Blog
Stack Overflow Blog
Project Zero
Project Zero
The GitHub Blog
The GitHub Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
量子位
Vercel News
Vercel News
T
Tor Project blog
P
Privacy International News Feed
D
Docker
I
Intezer
L
LangChain Blog
P
Proofpoint News Feed
Security Latest
Security Latest
C
CXSECURITY Database RSS Feed - CXSecurity.com
T
Threatpost
博客园 - 聂微东
AWS News Blog
AWS News Blog
Martin Fowler
Martin Fowler
P
Privacy & Cybersecurity Law Blog
V
V2EX
Last Week in AI
Last Week in AI
C
Cybersecurity and Infrastructure Security Agency CISA
The Hacker News
The Hacker News
T
Tenable Blog
Blog — PlanetScale
Blog — PlanetScale
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
T
Tailwind CSS Blog

博客园 - 冷水

[导入]梦幻网站 [导入]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)  评论()    收藏  举报