Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

What is the best practice for escaping user input?

user-image
Question ajoutée par Julfkar Moh Umar , Sr. Software Engineer , Aakash Edutech Private Limited
Date de publication: 2016/01/11
Shahzaib Arshad
par Shahzaib Arshad , Chief Technology Officer - Cto , Yalah DMCC

Depending on the type of input, one may use strip_tags, and preg_match. htmlspecialchars may be used if user input is utilized as valid html

More Questions Like This

Avez-vous besoin d'aide pour créer un CV ayant les mots-clés recherchés par les employeurs?