Cita:
Iniciado por DooBie
Por que no lo haces desde php???
cuando haces el require, ANTES, verifica si existe el fichero (file_exists) si no existe, mandas un header con las cabeceras 404 y listo
Pues actualmente lo tengo algo asi:
Código HTML:
$mod_file = $_GET['mod'];
if( !file_exists($mod_file) )
{
header("HTTP/1.0 404 Not Found", true, 404);
exit;
}
Pero la pagina me queda en blaco, no me muestra ningun error.