PHP3 Manual | ||
---|---|---|
Prev | Next |
fpassthru -- output all remaining data on a file pointer
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).
Prev | Home | Next |
fopen | Up | fputs |