Associate
- Joined
- 1 May 2006
- Posts
- 810
- Location
- Bristol, UK
Hi All,
Totally stumped on this one.
I'm trying to remove everything except the numeric digits used in 3 URL variables that I'm using in my blog system. I can't seem to grasp the whole regex thing
what do I need to put in there to exclude everything but 0-9?
Now that I think about it, these values will only be used in SELECT queries so I'm debating whether I need to secure them. Still, better safe than sorry. No?
As usual, all comments greatly appreciated.
Freakish_05
Totally stumped on this one.
I'm trying to remove everything except the numeric digits used in 3 URL variables that I'm using in my blog system. I can't seem to grasp the whole regex thing

Now that I think about it, these values will only be used in SELECT queries so I'm debating whether I need to secure them. Still, better safe than sorry. No?
As usual, all comments greatly appreciated.
Freakish_05