// Obtiene el tamaño del fichero en bytes $tamano = $_FILES["fichero"]["size"]; // Obtiene el tipo del fichero (la extensión) $tipo = $_FILES["fichero"]["type"];