Lines Matching refs:file_path
13 $file_path = __DIR__;
17 $dirname = $file_path."/is_dir_variation2";
23 symlink($file_path."/is_dir_variation2", $file_path."/is_dir_variation2_symlink");
24 var_dump( is_dir($file_path."/is_dir_variation2_symlink") ); //is_dir() resolves symlinks
28 link($file_path."/is_dir_variation2", $file_path."/is_dir_variation2_link"); //Not permitted to cre…
29 var_dump( is_dir($file_path."/is_dir_variation2_link") );
34 $filename = $file_path."/is_dir_variation2.tmp";
40 symlink($file_path."/is_dir_variation2.tmp", $file_path."/is_dir_variation2_symlink.tmp");
41 var_dump( is_dir($file_path."/is_dir_variation2_symlink.tmp") );
45 link($file_path."/is_dir_variation2.tmp", $file_path."/is_dir_variation2_link.tmp");
46 var_dump( is_dir($file_path."/is_dir_variation2_link.tmp") );
53 $file_path = __DIR__;
54 if(file_exists($file_path."/is_dir_variation2_symlink")) {
55 unlink($file_path."/is_dir_variation2_symlink");
57 if(file_exists($file_path."/is_dir_variation2_symlink")) {
58 unlink($file_path."/is_dir_variation2_symlink");
60 if(file_exists($file_path."/is_dir_variation2_symlink.tmp")) {
61 unlink($file_path."/is_dir_variation2_symlink.tmp");
63 if(file_exists($file_path."/is_dir_variation2_link.tmp")) {
64 unlink($file_path."/is_dir_variation2_link.tmp");
66 if(file_exists($file_path."/is_dir_variation2.tmp")) {
67 unlink($file_path."/is_dir_variation2.tmp");
69 if(file_exists($file_path."/is_dir_variation2")) {
70 rmdir($file_path."/is_dir_variation2");