Lines Matching refs:symlink
15 test_open_basedir_before("symlink");
18 var_dump(symlink($target, "../bad/symlink.txt"));
19 var_dump(symlink($target, "../symlink.txt"));
20 var_dump(symlink($target, "../bad/./symlink.txt"));
21 var_dump(symlink($target, "./.././symlink.txt"));
23 $symlink = ($initdir."/test/ok/symlink.txt");
24 var_dump(symlink("../bad/bad.txt", $symlink));
25 var_dump(symlink("../bad", $symlink));
26 var_dump(symlink("../bad/./bad.txt", $symlink));
27 var_dump(symlink("../bad/bad.txt", $symlink));
28 var_dump(symlink("./.././bad", $symlink));
32 var_dump(symlink($target, $symlink));
33 var_dump(unlink($symlink));
36 $symlink = ($initdir."/test/ok/ok2/ok.txt");
37 var_dump(symlink("../ok.txt", $symlink)); // $target == (dirname($symlink)."/".$target) == ($initdi…
38 var_dump(unlink($symlink));
40 test_open_basedir_after("symlink");
48 *** Testing open_basedir configuration [symlink] ***
55 Warning: symlink(): open_basedir restriction in effect. File(%s/test/bad/symlink.txt) is not within…
58 Warning: symlink(): open_basedir restriction in effect. File(%s/test/symlink.txt) is not within the…
61 Warning: symlink(): open_basedir restriction in effect. File(%s/test/bad/symlink.txt) is not within…
64 Warning: symlink(): open_basedir restriction in effect. File(%s/test/symlink.txt) is not within the…
67 Warning: symlink(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the…
70 Warning: symlink(): open_basedir restriction in effect. File(%s/test/bad) is not within the allowed…
73 Warning: symlink(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the…
76 Warning: symlink(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the…
79 Warning: symlink(): open_basedir restriction in effect. File(%s/test/bad) is not within the allowed…
86 *** Finished testing open_basedir configuration [symlink] ***