网创优客建站品牌官网
为成都网站建设公司企业提供高品质网站建设
热线:028-86922220
成都专业网站建设公司

定制建站费用3500元

符合中小企业对网站设计、功能常规化式的企业展示型网站建设

成都品牌网站建设

品牌网站建设费用6000元

本套餐主要针对企业品牌型网站、中高端设计、前端互动体验...

成都商城网站建设

商城网站建设费用8000元

商城网站建设因基本功能的需求不同费用上面也有很大的差别...

成都微信网站建设

手机微信网站建站3000元

手机微信网站开发、微信官网、微信商城网站...

建站知识

当前位置:首页 > 建站知识

PHP过滤函数扩展DataFiltering

This extension filters data by either validating or sanitizing it. This is especially useful when the data source contains unknown (or foreign) data, like user supplied input. For example, this data may come from an HTML form.

创新互联公司专注于巴里坤哈萨克网站建设服务及定制,我们拥有丰富的企业做网站经验。 热诚为您提供巴里坤哈萨克营销型网站建设,巴里坤哈萨克网站制作、巴里坤哈萨克网页设计、巴里坤哈萨克网站官网定制、重庆小程序开发服务,打造巴里坤哈萨克网络公司原创品牌,更为您提供巴里坤哈萨克网站排名全网营销落地服务。

There are two main types of filtering: validation and sanitization.

Validationis used to validate or check if the data meets certain qualifications. For example, passing in FILTER_VALIDATE_EMAILwill determine if the data is a valid email address, but will not change the data itself.

Sanitizationwill sanitize the data, so it may alter it by removing undesired characters. For example, passing in FILTER_SANITIZE_EMAILwill remove characters that are inappropriate for an email address to contain. That said, it does not validate the data.

Flags are optionally used with both validation and sanitization to tweak behaviour according to need. For example, passing in FILTER_FLAG_PATH_REQUIREDwhile filtering an URL will require a path (like /foo in http://example.org/foo) to be present.


文章题目:PHP过滤函数扩展DataFiltering
网页URL:http://bjjierui.cn/article/ppogso.html

其他资讯