I’m wondering if there is a quick and easy function to clean get variables in my url, before I work with them.( or $_POST come to think of it… )
I suppose I could use a regex to replace non-permitted characters, but I’m interested to hear what people use for this sort of thing?
I use the PHP input filters and the function urlencode.