03-22-2008, 08:59 PM
|
#21 (permalink)
|
|
WebDev'n Beer Drnkn' Fool
Join Date: Dec 2007
Location: Denver, CO
Posts: 59
Thanks: 2
|
Quote:
Originally Posted by Orc
The second one can easily be fixed, just do:
PHP Code:
if (!is_numeric($_GET['s']))
{
header("Location: ./");
}
|
For some reason i can never seem to get that to work with post/get vars... =/ I end up using a regular expression to do it. 
|
|
|