TommieV Posted April 23, 2007 Share Posted April 23, 2007 Hi, I thought I had a quite nice way to filter out all the 'bad and dangerous' stuff from all my post, get, and cookie variables, with a nice snippet of my code: http://pastebin.ca/454618 (dont worry, it isn't that long) But it is apparently not working. I've got a hunch that the problem lies within somewhere in how I am using the foreach() function, because if I use the functions except for the foreach() function on a different variable, it works just fine. Any help would be appreciated, TommieV Link to comment https://forums.phpfreaks.com/topic/48335-filtering-out-all-the-bad-stuff-from-_get-_post-and-_cookie/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.