PHP3 Manual
PrevNext

fpassthru

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, returns false.

The file pointer must be valid, and must point to a file successfully opened by fopen() or popen().


PrevHomeNext
fopenUpfputs