Lines Matching refs:copy
8 test_open_basedir_before("copy");
10 var_dump(copy("ok.txt", "../bad"));
11 var_dump(copy("ok.txt", "../bad/bad.txt"));
12 var_dump(copy("ok.txt", ".."));
13 var_dump(copy("ok.txt", "../"));
14 var_dump(copy("ok.txt", "/"));
15 var_dump(copy("ok.txt", "../bad/."));
16 var_dump(copy("ok.txt", "../bad/./bad.txt"));
17 var_dump(copy("ok.txt", "./../."));
19 var_dump(copy("ok.txt", "copy.txt"));
20 var_dump(unlink("copy.txt"));
21 test_open_basedir_after("copy");
29 *** Testing open_basedir configuration [copy] ***
36 Warning: copy(): open_basedir restriction in effect. File(../bad) is not within the allowed path(s)…
38 Warning: copy(../bad): Failed to open stream: %s in %s on line %d
41 Warning: copy(): open_basedir restriction in effect. File(../bad/bad.txt) is not within the allowed…
43 Warning: copy(../bad/bad.txt): Failed to open stream: %s in %s on line %d
46 Warning: copy(): open_basedir restriction in effect. File(..) is not within the allowed path(s): (.…
48 Warning: copy(..): Failed to open stream: %s in %s on line %d
51 Warning: copy(): open_basedir restriction in effect. File(../) is not within the allowed path(s): (…
53 Warning: copy(../): Failed to open stream: %s in %s on line %d
56 Warning: copy(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (.)…
58 Warning: copy(/): Failed to open stream: %s in %s on line %d
61 Warning: copy(): open_basedir restriction in effect. File(../bad/.) is not within the allowed path(…
63 Warning: copy(../bad/.): Failed to open stream: %s in %s on line %d
66 Warning: copy(): open_basedir restriction in effect. File(../bad/./bad.txt) is not within the allow…
68 Warning: copy(../bad/./bad.txt): Failed to open stream: %s in %s on line %d
71 Warning: copy(): open_basedir restriction in effect. File(./../.) is not within the allowed path(s)…
73 Warning: copy(./../.): Failed to open stream: %s in %s on line %d
77 *** Finished testing open_basedir configuration [copy] ***