Lines Matching refs:filename
8 $filename = dirname(__FILE__)."/is_readable_root_check.tmp";
9 $fp = fopen($filename, 'w');
11 if(fileowner($filename) == 0) {
12 unlink ($filename);
15 unlink($filename);
19 /* Prototype : bool lchown (string filename, mixed user)
28 $filename = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'lchown.txt';
29 touch( $filename );
34 var_dump( lchown( $filename ) );
37 var_dump( lchown( $filename, $uid, 'foobar' ) );
39 // Non-existant filename
47 var_dump( lchown( $filename, -5 ) );
54 $filename = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'lchown.txt';
55 unlink($filename);