panther, sorry to bother you... i tried that... and it doesnt work??
i put this in main index bit and i cant get it to work at all...
If(!eregi("^[-?_?a-z0-9]+$",$id)) { // Will only allow alpha numeric chars with - or _'s in the name.
exit("Bad include file");
} Elseif(file_exists("/path/$id.php")) {
include("/path/$id.php");
} Else {
Exit("Bad include file");
}
www.erazor-studios.net/a51/
any ideas??