Quantcast
Channel: PHP Website Development » XSS
Viewing all articles
Browse latest Browse all 11

Removing Metacharacters in php

$
0
0

We are using PHP code. 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.


Viewing all articles
Browse latest Browse all 11

Trending Articles