View Single Post
Old 03-22-2008, 08:59 PM   #21 (permalink)
stewart
WebDev'n Beer Drnkn' Fool
 
stewart's Avatar
 
Join Date: Dec 2007
Location: Denver, CO
Posts: 59
Thanks: 2
stewart is on a distinguished road
Default

Quote:
Originally Posted by Orc View Post
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.
__________________
stewart::howe
Web Developer & Programmer
CelerMedia.Com | iAmStewart.com | CelerLabs.com
Send a message via ICQ to stewart Send a message via AIM to stewart Send a message via MSN to stewart Send a message via Yahoo to stewart
stewart is offline  
Reply With Quote