php strip special characters from text using preg_replace


/ Published in: PHP
Save to your folder(s)

This will strip special characters and return only what is required and very useful in search queries to avoid xss injections.

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.