Security Filter for Incoming Variables

Adam Khoury Published : November 22, 2014
Last Edited : November 24, 2025
Author : Adam Khoury
In this part of the lesson we demonstrate how to filter the URL variable using php to make sure we remove all letters and unwanted characters. Some characters can be used to run malicious queries on your database, so we want to safeguard against that.