Gold Vision Communications / USA
 GOLDVISION.COM
Serving the Multimedia Community since 1989.
German Site | Spanish Site 

 Web Hosting

 Virtual Dedicated Servers

 Domaincheck

 Order

 Order Status

 Support

 Contact us

 Download

 Network

 Network Status

 Webdesign / Templates

 Make Payment

 Terms & Conditions

 Imprint

 Legal Notices

 Privacy Statement
  PHP / fpassthru
fpassthru

fpassthru

(PHP 3, PHP 4 )

fpassthru --  Saca todos los datos restantes del fichero apuntado

Descripción

int fpassthru ( int fp)

Lee hasta el EOF del fichero apuntado y escribe los resultados a la salida estándar (stdout).

Si ocurre un error, fpassthru() devuelve FALSE.

El apuntador al fichero debe ser válido, y debe apuntar a un fichero abierto con éxito por fopen(), popen(), o fsockopen(). El fichero se cierra cuando fpassthru() termina de leerlo (dejando fp sin ninguna utilidad).

Si sólo quieres volcar el contenido de un fichero a stdout puedes If you just want to dump the contents of a file to stdout you may usar la función readfile(), la cual te libra de la llamada a fopen().

Ver también readfile(), fopen(), popen(), y fsockopen()


© 1998-2007 Gold Vision Communications All Rights Reserved.