Código PHP:
ob_start();
function left($str, $length) {
return substr($str, 0, $length);}
$valor = $_SERVER['QUERY_STRING'];
require("config.php");
if ($config['rewrite'] == false && strlen($valor) <>0 && left($valor,1)=="_" ){
require("forward2.php");
exit;
}
if ($config['rewrite'] == false && strlen($valor) == 6 && left($valor,1) <> "_"){
require("forward.php");
exit;
}