<?PHPif (file_exists("archivo.txt")) {$xresp= "El archivo SI existe";} else {$xresp= "El archivo NO existe";}echo "&xresp=$xresp"; ?>