★ wanayoo — archive 1999 http://fr.php.net/manual/hu/function.fpassthru.phpNouvelle recherche | Portail wanayoo
PHP Tuesday, March 20, 2001  
downloads | documentation | faq | support | reporting bugs | links 

search for in the  

lookup:
PHP KézikönyvPHP Kézikönyv
FilesystemFilesystem
 basenamebasename
 chgrpchgrp
 chmodchmod
 chownchown
 clearstatcacheclearstatcache
 copycopy
 deletedelete
 dirnamedirname
 diskfreespacediskfreespace
 fclosefclose
 feoffeof
 fflushfflush
 fgetcfgetc
 fgetcsvfgetcsv
 fgetsfgets
 fgetssfgetss
 filefile
 file_existsfile_exists
 fileatimefileatime
 filectimefilectime
 filegroupfilegroup
 fileinodefileinode
 filemtimefilemtime
 fileownerfileowner
 filepermsfileperms
 filesizefilesize
 filetypefiletype
 flockflock
 fopenfopen
 fpassthrufpassthru
 fputsfputs
 freadfread
 fscanffscanf
 fseekfseek
 fstatfstat
 ftellftell
 ftruncateftruncate
 fwritefwrite
 set_file_bufferset_file_buffer
 is_diris_dir
 is_executableis_executable
 is_fileis_file
 is_linkis_link
 is_readableis_readable
 is_writableis_writable
 is_writeableis_writeable
 is_uploaded_fileis_uploaded_file
 linklink
 linkinfolinkinfo
 mkdirmkdir
 move_uploaded_filemove_uploaded_file
 pclosepclose
 popenpopen
 readfilereadfile
 readlinkreadlink
 renamerename
 rewindrewind
 rmdirrmdir
 statstat
 lstatlstat
 realpathrealpath
 symlinksymlink
 tempnamtempnam
 tmpfiletmpfile
 touchtouch
 umaskumask
 unlinkunlink

previousfopen
fputsnext

Last updated: Sat, 17 Mar 2001
view this page in English | Brazilian Portuguese | Czech | Dutch | French | German | Hungarian | Italian | Japanese | Korean | Spanish | Plain HTML

fpassthru

(PHP 3, PHP 4 )

fpassthru --  Output all remaining data on a file pointer

Description

int fpassthru (int fp)

Reads to EOF on the given file pointer and writes the results to standard output.

If an error occurs, fpassthru() returns false.

The file pointer must be valid, and must point to a file successfully opened by fopen(), popen(), or fsockopen(). The file is closed when fpassthru() is done reading it (leaving fp useless).

If you just want to dump the contents of a file to stdout you may want to use the readfile(), which saves you the fopen() call.

See also readfile(), fopen(), popen(), and fsockopen()

previousfopen
fputsnext

Last updated: Sat, 17 Mar 2001
add note | about notes

show source | credits | mirror sites:  

Copyright © 1998-2001 The PHP Group
All rights reserved.
This mirror generously provided by: L'Université Michel de Montaigne Bordeaux III
Last updated: Tue Mar 20 07:31:16 2001 MET