(PHP 4)

php_uuinfofile -- Calls the user function given with one information line of a file.


int php_uuinfofile (resource item, string func)

This function can be used to query information about the encoded file. This is either the 0th part of a file if available or the beginning of the first part up to the encoded data otherwise. Once again, a callback function is used to achieve the job. func must be a function with one parameter : one line of info about the file (at maximum 512 bytes). The callback is called for each line of info.
The callback can return either zero, meaning that it can accept more data, or non-zero, which imme­diately stops retrieval of more information.

Piscines en bois