Re: Comparacion de Variables III, la furia

From: Date: Thu, 08 Aug 2002 00:06:19 +0000
Subject: Re: Comparacion de Variables III, la furia
References: 1 2  Groups: php.general.es 
Request: Send a blank email to general-es+get-25736@lists.php.net to get a copy of this message
Muchas gracias segui el consejo de cYbErDaRk y use implode, ahora si me dice que los archivos son diferentes. Julio ----- Original Message ----- From: "Àngel Fenoy" <afenoy@wol.es> To: <lista@phpes.com> Sent: Wednesday, August 07, 2002 7:26 PM Subject: Re: [PHP-ES] Comparacion de Variables III, la furia > Del manual en ingles: > > int readfile ( string filename [, int use_include_path]) > Reads a file and writes it to standard output. > Returns the number of bytes read from the file > > Del manual en castellano: > > int readfile ( string filename [, int use_include_path]) > Lee un fichero y lo escribe a la salida estándar. > Devuelve el número de bytes leidos del fichero > > Como puedes ver, readfile() se usa para mostrar el contenido de un fichero por > pantalla, pero NO retorna el contenido de un fichero, sino su longitud. > > Para leer un fichero mejor usa alguna otra otra función, como fread() o file() > o fgets() o fgetc() > > Saludos > Àngel >

« previous php.general.es (#25736) next »