file_get_wrapper_data

(PHP 4 CVS only)

file_get_wrapper_data -- Retrieves header/meta data from "wrapped" file pointers

Description

mixed file_get_wrapper_data ( int fp)

This function returns header or meta data from files opened with fopen(). This is useful to return the response headers for HTTP connections, or some other statistics for other resources.

The format of the returned data is deliberately undocumented at this time, and depends on which wrapper(s) were used to open the file.

Note: This function was introduced in PHP 4.3.0.