Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End if “certain” variable exist… do this.? Re: if “certain” variable exist… do this.?

#93729
noahgelman
Participant

@mikeman

He means like this that when you want to use $_GET you should use it like this htmlspecialchars($_GET)

This prevents the user from manually typing in code in the url which could break your code and/or be a security risk (although I don’t know all that much about php security best practices)