Lines Matching refs:filename
15 echo "\n*** Create hard link in different directory with same filename ***\n";
18 $filename = "$file_path/symlink_link_linkinfo_is_link_variation8.tmp";
24 $fp = fopen($filename, "w");
27 var_dump( link($filename, $dirname."/") ); // this fails indicating file exists
29 var_dump( link($filename, $dirname."/".$linkname) ); // this works fine
33 unlink($filename);
37 echo "\n*** Create soft link in different directory with same filename ***\n";
38 $filename = "$file_path/symlink_link_linkinfo_is_link_variation8.tmp";
44 $fp = fopen($filename, "w");
47 var_dump( symlink($filename, $dirname."/") ); // this fails indicating file exists
49 var_dump( symlink($filename, $dirname."/".$linkname) ); // this works fine
53 unlink($filename);
60 *** Create hard link in different directory with same filename ***
66 *** Create soft link in different directory with same filename ***