$dirtyWord = array("UNION","LOAD_FILE","LOAD DATA INFILE","LOAD FILE","BENCHMARK","INTO OUTFILE");
foreach($dirtyWord as $injection) { if(stristr($q,$injection)) { //Do Something to remove injection and log it } } Thank you. --Steven
$dirtyWord = array("UNION","LOAD_FILE","LOAD DATA INFILE","LOAD FILE","BENCHMARK","INTO OUTFILE");
foreach($dirtyWord as $injection) { if(stristr($q,$injection)) { //Do Something to remove injection and log it } } Thank you. --Steven