.... if(file_exists('modulos/funciones.php?id='.$page)) { include('modulos/funciones.php?id='.$page); } ....