/PHP-5.4/tests/security/ |
H A D | open_basedir_readlink.phpt | 52 …asedir restriction in effect. File(symlink.txt) is not within the allowed path(s): (.) in %s on li… 55 … restriction in effect. File(../ok/symlink.txt) is not within the allowed path(s): (.) in %s on li… 58 …estriction in effect. File(../ok/./symlink.txt) is not within the allowed path(s): (.) in %s on li… 61 …edir restriction in effect. File(./symlink.txt) is not within the allowed path(s): (.) in %s on li… 64 …riction in effect. File(%s/test/ok/symlink.txt) is not within the allowed path(s): (.) in %s on li… 67 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 70 …riction in effect. File(%s/test/ok/symlink.txt) is not within the allowed path(s): (.) in %s on li…
|
H A D | open_basedir_copy.phpt | 36 Warning: copy(): open_basedir restriction in effect. File(../bad) is not within the allowed path(s)… 41 …dir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 46 Warning: copy(): open_basedir restriction in effect. File(..) is not within the allowed path(s): (.… 51 Warning: copy(): open_basedir restriction in effect. File(../) is not within the allowed path(s): (… 56 Warning: copy(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (.)… 61 Warning: copy(): open_basedir restriction in effect. File(../bad/.) is not within the allowed path(… 66 …r restriction in effect. File(../bad/./bad.txt) is not within the allowed path(s): (.) in %s on li… 71 Warning: copy(): open_basedir restriction in effect. File(./../.) is not within the allowed path(s)…
|
H A D | open_basedir_opendir.phpt | 30 Warning: opendir(): open_basedir restriction in effect. File(../bad) is not within the allowed path… 35 …dir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 40 Warning: opendir(): open_basedir restriction in effect. File(..) is not within the allowed path(s):… 45 Warning: opendir(): open_basedir restriction in effect. File(../) is not within the allowed path(s)… 50 Warning: opendir(): open_basedir restriction in effect. File(/) is not within the allowed path(s): … 55 …n_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on li… 60 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 65 …ion in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
|
H A D | open_basedir_unlink.phpt | 32 …dir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 35 …r restriction in effect. File(.././bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 38 …triction in effect. File(../bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 41 …restriction in effect. File(./.././bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 44 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
|
H A D | open_basedir_file_get_contents.phpt | 32 …pen_basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on li… 37 …dir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 42 …): open_basedir restriction in effect. File(..) is not within the allowed path(s): (.) in %s on li… 47 …: open_basedir restriction in effect. File(../) is not within the allowed path(s): (.) in %s on li… 52 …(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (.) in %s on li… 57 …n_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on li… 62 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 67 …ion in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
|
H A D | open_basedir_file.phpt | 32 Warning: file(): open_basedir restriction in effect. File(../bad) is not within the allowed path(s)… 37 …dir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 42 Warning: file(): open_basedir restriction in effect. File(..) is not within the allowed path(s): (.… 47 Warning: file(): open_basedir restriction in effect. File(../) is not within the allowed path(s): (… 52 Warning: file(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (.)… 57 Warning: file(): open_basedir restriction in effect. File(../bad/.) is not within the allowed path(… 62 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 67 …ion in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
|
H A D | open_basedir_rename.phpt | 32 …dir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 35 …r restriction in effect. File(.././bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 38 …triction in effect. File(../bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 41 …restriction in effect. File(./.././bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 44 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
|
H A D | open_basedir_fopen.phpt | 41 Warning: fopen(): open_basedir restriction in effect. File(../bad) is not within the allowed path(s… 46 …dir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 51 Warning: fopen(): open_basedir restriction in effect. File(..) is not within the allowed path(s): (… 56 Warning: fopen(): open_basedir restriction in effect. File(../) is not within the allowed path(s): … 61 Warning: fopen(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (.… 66 Warning: fopen(): open_basedir restriction in effect. File(../bad/.) is not within the allowed path… 71 …r restriction in effect. File(../bad/./bad.txt) is not within the allowed path(s): (.) in %s on li… 76 Warning: fopen(): open_basedir restriction in effect. File(./../.) is not within the allowed path(s…
|
H A D | open_basedir_parse_ini_file.phpt | 40 …basedir restriction in effect. File(%stest\bad) is not within the allowed path(s): (.) in %sopen_b… 45 …restriction in effect. File(%stest\bad\bad.txt) is not within the allowed path(s): (.) in %sopen_b… 50 …pen_basedir restriction in effect. File(%stest) is not within the allowed path(s): (.) in %sopen_b… 55 …pen_basedir restriction in effect. File(%stest) is not within the allowed path(s): (.) in %sopen_b… 60 …basedir restriction in effect. File(%stest\bad) is not within the allowed path(s): (.) in %sopen_b… 65 …restriction in effect. File(%stest\bad\bad.txt) is not within the allowed path(s): (.) in %sopen_b… 70 …pen_basedir restriction in effect. File(%stest) is not within the allowed path(s): (.) in %sopen_b…
|
/PHP-5.4/ext/standard/tests/strings/ |
H A D | basename_variation.phpt | 5 /* Prototype: string basename ( string $path [, string $suffix] ); 6 Description: Given a string containing a path to a file, 62 /* path with spaces */ 74 foreach ($path_arrays as $path) { 76 if( 1 == count($path) ) { // no suffix provided 77 var_dump( basename($path[0]) ); 78 } else { // path as well as suffix provided, 79 var_dump( basename($path[0], $path[1]) ); 84 echo "*** Testing possible variations in path and suffix ***\n"; 90 *** Testing possible variations in path and suffix ***
|
H A D | basename_basic.phpt | 5 /* Prototype: string basename ( string $path [, string $suffix] ); 6 Description: Given a string containing a path to a file, 60 foreach ($path_arrays as $path) { 62 if( 1 == count($path) ) { // no suffix provided 63 var_dump( basename($path[0]) ); 64 } else { // path as well as suffix provided, 65 var_dump( basename($path[0], $path[1]) );
|
/PHP-5.4/ext/standard/tests/file/ |
H A D | disk_free_space_variation.phpt | 109 Warning: disk_free_space() expects parameter 1 to be a valid path, string given in %s on line %d 112 Warning: diskfreespace() expects parameter 1 to be a valid path, string given in %s on line %d 117 Warning: disk_free_space() expects parameter 1 to be a valid path, string given in %s on line %d 120 Warning: diskfreespace() expects parameter 1 to be a valid path, string given in %s on line %d 125 Warning: disk_free_space() expects parameter 1 to be a valid path, string given in %s on line %d 128 Warning: diskfreespace() expects parameter 1 to be a valid path, string given in %s on line %d 133 Warning: disk_free_space() expects parameter 1 to be a valid path, string given in %s on line %d 136 Warning: diskfreespace() expects parameter 1 to be a valid path, string given in %s on line %d
|
H A D | basename_error.phpt | 5 /* Prototype : string basename(string path [, string suffix]) 6 * Description: Returns the filename component of the path 19 $path = 'string_val'; 22 var_dump( basename($path, $suffix, $extra_arg) );
|
H A D | dirname_error.phpt | 7 /* Prototype : string dirname(string path) 8 * Description: Returns the directory name component of the path 21 $path = 'string_val'; 23 var_dump( dirname($path, $extra_arg) );
|
H A D | chmod_variation2.phpt | 24 echo "chmod() on a path containing .. and .\n"; 30 echo "\nchmod() on a path containing .. with invalid directories\n"; 45 echo "\nchmod() on a relative path from a different working directory\n"; 65 chmod() on a path containing .. and . 70 chmod() on a path containing .. with invalid directories 84 chmod() on a relative path from a different working directory
|
H A D | parse_ini_file_variation3.phpt | 2 Test parse_ini_file() function : variation: include path searching 33 $path = get_include_path(); 34 echo "New include path is : " . $path . "\n"; 79 New include path is : %sparse_ini_file_variation3.dir1%sparse_ini_file_variation3.dir2%sparse_ini_f…
|
H A D | pathinfo_basic2-win32.phpt | 12 /* Prototype: mixed pathinfo ( string $path [, int $options] ); 13 Description: Returns information about a file path 38 /* loop through $paths to test each $path in the above array */ 39 foreach($paths as $path) { 41 var_dump( pathinfo($path, PATHINFO_DIRNAME) ); 42 var_dump( pathinfo($path, PATHINFO_BASENAME) ); 43 var_dump( pathinfo($path, PATHINFO_EXTENSION) ); 44 var_dump( pathinfo($path, PATHINFO_FILENAME) ); 45 var_dump( pathinfo($path) );
|
/PHP-5.4/ext/zlib/ |
H A D | zlib_fopen_wrapper.c | 109 php_stream *php_stream_gzopen(php_stream_wrapper *wrapper, char *path, char *mode, int options, in php_stream_gzopen() argument 123 if (strncasecmp("compress.zlib://", path, 16) == 0) { in php_stream_gzopen() 124 path += 16; in php_stream_gzopen() 125 } else if (strncasecmp("zlib:", path, 5) == 0) { in php_stream_gzopen() 126 path += 5; in php_stream_gzopen() 129 …innerstream = php_stream_open_wrapper_ex(path, mode, STREAM_MUST_SEEK | options | STREAM_WILL_CAST… in php_stream_gzopen()
|
/PHP-5.4/ext/zlib/tests/ |
H A D | gzfile_variation1.phpt | 32 Warning: gzfile() expects parameter 1 to be a valid path, array given in %s on line %d 35 Warning: gzfile() expects parameter 1 to be a valid path, array given in %s on line %d 38 Warning: gzfile() expects parameter 1 to be a valid path, array given in %s on line %d 41 Warning: gzfile() expects parameter 1 to be a valid path, array given in %s on line %d
|
H A D | readgzfile_variation1.phpt | 32 Warning: readgzfile() expects parameter 1 to be a valid path, array given in %s on line %d 35 Warning: readgzfile() expects parameter 1 to be a valid path, array given in %s on line %d 38 Warning: readgzfile() expects parameter 1 to be a valid path, array given in %s on line %d 41 Warning: readgzfile() expects parameter 1 to be a valid path, array given in %s on line %d
|
/PHP-5.4/ext/standard/tests/dir/ |
H A D | dir_variation1.phpt | 95 Warning: dir() expects parameter 1 to be a valid path, array given in %s on line %d 100 Warning: dir() expects parameter 1 to be a valid path, array given in %s on line %d 105 Warning: dir() expects parameter 1 to be a valid path, array given in %s on line %d 110 Warning: dir() expects parameter 1 to be a valid path, array given in %s on line %d 115 Warning: dir() expects parameter 1 to be a valid path, array given in %s on line %d 154 Warning: dir() expects parameter 1 to be a valid path, resource given in %s on line %d 159 Warning: dir() expects parameter 1 to be a valid path, resource given in %s on line %d 164 Warning: dir() expects parameter 1 to be a valid path, object given in %s on line %d
|
H A D | scandir_error2-win32.phpt | 12 * Description: List files & directories inside the specified path 24 echo "\n-- Pass scandir() an absolute path that does not exist --\n"; 27 echo "\n-- Pass scandir() a relative path that does not exist --\n"; 34 -- Pass scandir() an absolute path that does not exist -- 43 -- Pass scandir() a relative path that does not exist --
|
H A D | dir_variation3.phpt | 98 ["path"]=> 109 ["path"]=> 120 ["path"]=> 131 ["path"]=> 142 ["path"]=> 153 ["path"]=> 164 ["path"]=> 175 ["path"]=> 186 ["path"]=> 197 ["path"]=>
|
/PHP-5.4/ext/pgsql/tests/ |
H A D | 05large_object.phpt | 58 $path = dirname(__FILE__) . '/'; 60 $oid = pg_lo_import($db, $path . 'php.gif'); 63 @unlink($path . 'php.gif.exported'); 64 pg_lo_export($oid, $path . 'php.gif.exported', $db); 65 if (!file_exists($path . 'php.gif.exported')) { 68 @unlink($path . 'php.gif.exported');
|
/PHP-5.4/ext/bz2/ |
H A D | php_bz2.h | 50 PHP_BZ2_API php_stream *_php_stream_bz2open(php_stream_wrapper *wrapper, char *path, char *mode, in… 54 #define php_stream_bz2open(wrapper, path, mode, options, opened_path) _php_stream_bz2open((wrapper)… argument
|