Lines Matching refs:file_put_contents

9 test_open_basedir_before("file_put_contents");
11 var_dump(file_put_contents("../bad/bad.txt", "Hello World!"));
12 var_dump(file_put_contents(".././bad/bad.txt", "Hello World!"));
13 var_dump(file_put_contents("../bad/../bad/bad.txt", "Hello World!"));
14 var_dump(file_put_contents("./.././bad/bad.txt", "Hello World!"));
15 var_dump(file_put_contents($initdir."/test/bad/bad.txt", "Hello World!"));
17 test_open_basedir_after("file_put_contents");
25 *** Testing open_basedir configuration [file_put_contents] ***
32 Warning: file_put_contents(): open_basedir restriction in effect. File(../bad/bad.txt) is not withi…
34 Warning: file_put_contents(../bad/bad.txt): Failed to open stream: %s in %s on line %d
37 Warning: file_put_contents(): open_basedir restriction in effect. File(.././bad/bad.txt) is not wit…
39 Warning: file_put_contents(.././bad/bad.txt): Failed to open stream: %s in %s on line %d
42 Warning: file_put_contents(): open_basedir restriction in effect. File(../bad/../bad/bad.txt) is no…
44 Warning: file_put_contents(../bad/../bad/bad.txt): Failed to open stream: %s in %s on line %d
47 Warning: file_put_contents(): open_basedir restriction in effect. File(./.././bad/bad.txt) is not w…
49 Warning: file_put_contents(./.././bad/bad.txt): Failed to open stream: %s in %s on line %d
52 Warning: file_put_contents(): open_basedir restriction in effect. File%s/test/bad/bad.txt) is not w…
54 Warning: file_put_contents%s/test/bad/bad.txt): Failed to open stream: %s in %s on line %d
56 *** Finished testing open_basedir configuration [file_put_contents] ***