开发者

Removing Metacharacters in php

开发者 https://www.devze.com 2023-02-05 21:56 出处:网络
We are using PHP co开发者_运维问答de. For security reason we need to remove the Metacharacters from User Supplied Datas.

We are using PHP co开发者_运维问答de. For security reason we need to remove the Metacharacters from User Supplied Datas.

How is it possible by preg or any other inbuilt function is in PHP?


Assuming you mean "Characters which cause SQL Injection or XSS problems".

No, you don't. Just practise good escaping practises before you make queries, or output markup.

0

精彩评论

暂无评论...
验证码 换一张
取 消