Logo KRISTOFFER BOHMANN  [BETA]
  • Forside
  • Om KB
  • Kompetencer
  • Referencer
Filesystem
basename
chgrp
chmod
chown
clearstatcache
copy
delete
dirname
diskfreespace
disk_free_space
disk_total_space
fclose
feof
fflush
fgetc
fgetcsv
fgets
fgetss
file
fileatime
filectime
filegroup
fileinode
filemtime
fileowner
fileperms
filesize
filetype
file_exists
file_get_contents
file_put_contents
flock
fnmatch
fopen
fpassthru
fputcsv
fputs
fread
fscanf
fseek
fstat
ftell
ftruncate
fwrite
glob
is_dir
is_executable
is_file
is_link
is_readable
is_uploaded_file
is_writable
is_writeable
lchgrp
lchown
link
linkinfo
lstat
mkdir
move_uploaded_file
parse_ini_file
parse_ini_string
pathinfo
pclose
popen
readfile
readlink
realpath
realpath_cache_get
realpath_cache_size
rename
rewind
rmdir
set_file_buffer
stat
symlink
tempnam
tmpfile
touch
umask
unlink
Home > PHP > Function > Filesystem > fflush()

fflush()

fflush - Flushes the output to a file

Syntax

bool fflush (resource $handle)

Arguments

  • handle - The file pointer must be valid, and must point to a file successfully opened by fopen() or fsockopen() (and not yet closed by fclose()).

Description

This function forces a write of all buffered output to the resource pointed to by the file handle.

Version

PHP 4.0.1, 5

Return value

Returns TRUE on success or FALSE on failure.
Kristoffer Bohmann, Ved Bjerget 12, DK- 9530 Støvring, Telefon +45 29 79 39 19, E-mail: