DooBie:
En ningun momento dije que la funcion "file" da error cuando el archivo no tiene texto!.
Y la funcion "file" NO es igual a la funcion "fopen". Esta ultima SI devuelve error
cuando el archivo no tiene texto dentro o tiene 0Kb.
LO IMPORTANTE DE TODO ESTO ES QUE EL MANEJO DE UN ARCHIVO DE TEXTO
DENTRO DE UN SCRIPT PHP, GENERALMENTE REQUERIRA DE LA ADICION DE TEXTOS Y EN ESE CASO SE USA LA FUNCION "FOPEN", YA QUE CON ESTA SE PUEDE AGREGAR TEXTO A UN ARCHIVO YA EXISTENTE.
Porfavor, lee con calma lo que he escrito al menos unas dos veces ya que la
ansiedad turba la mente, especialmente lee el punto #2 de mi post.
Saludos
Y espero ayude
Franco
![Afirmando](http://static.forosdelweb.com/fdwtheme/images/smilies/afirmar.gif)
P.S. DooBie, las polemicas, engrandecen los conocimientos!.