Validating ajax search

Is there a way to prevent user from entering script tag to the form? Yes, escaping. It is one of the fundamental cornerstones of web security, and completely missing from the code in the question. Take this example: <a href=”<?php echo $foo; ?>”> How do we know it’s actually a URL? Your colleague has said … Read more