Search for in the Packages This site (using Yahoo!) Developers Developer mailing list General mailing list CVS commits mailing list
require_once 'File.php';
mixed File::unlock (string $filename, string $mode)
mixed File::unlock
This function can be called statically.
Example 44-1. Using File::unlock()
<?php require_once 'File.php'; $e = File::unlock('test.txt'); if (PEAR::isError($e)) { echo 'Could not unlock the file : ' . $e->getMessage(); } else { echo "Successfully unlocked the file test.txt\n"; } ?>