in reply to Filtering CGI Input
My input should be any number from 0 to 99999.Well, then why use regular expressions at all? Isn't this just a simple number comparison? How about:
if ($sid < 0 or $sid > 99_999){ ... }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Filtering CGI Input
by davidj (Priest) on Apr 24, 2005 at 07:10 UTC |