Little help with GET variables

I want to send a filename using GET, but I don't want ppl to try to inject code... anyone got a solution for it?

It will just have letters and space; I was thinking to use a preg_replace and then compare the original GET variable with the other one; if matches, passes the string, if not, someone tried to inject a code.

Ideas? thx!

People that missed the April's fool coupons from Prometeus (1): yomero.
«1

Comments

Sign In or Register to comment.