php_uusetfnamefilter

(PHP 4)

php_uusetfnamefilter -- Sets the Filename Filter function.

Description

int php_uusetfnamefilter (string func)

If a “Filename Filter” function is installed, the library will pass each potential filename to the filter function and then use the returned filename. The filter function has to remove all directory information from the filename because the library itself does not know about directories at all. The filter function receives the potential filename as string and must return a string containing the corrected filename.

php_uusetfnamefilter sets the Filename Filter function to func. Semantics is identical to php_uusetmsgcallback and php_uusetbusycallback.

Piscines en bois