Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

What is the best practice for escaping user input?

user-image
Question added by Julfkar Moh Umar , Sr. Software Engineer , Aakash Edutech Private Limited
Date Posted: 2016/01/11
Shahzaib Arshad
by 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