开发者

Removing Metacharacters in php

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜