Home
last modified time | relevance | path

Searched refs:path (Results 76 – 100 of 678) sorted by relevance

12345678910>>...28

/PHP-5.5/tests/security/
H A Dopen_basedir_is_writable.phpt23 …pen_basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on li…
26 …dir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
29 Warning: is_writable(): open_basedir restriction in effect. File(..) is not within the allowed path
32 …: open_basedir restriction in effect. File(../) is not within the allowed path(s): (.) in %s on li…
35 Warning: is_writable(): open_basedir restriction in effect. File(/) is not within the allowed path(…
38 …n_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on li…
41 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
44 …ion in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
47 …pen_basedir restriction in effect. File(./../.) is not within the allowed path(s): (.) in %s on li…
H A Dopen_basedir_lstat.phpt23 Warning: lstat(): open_basedir restriction in effect. File(../bad) is not within the allowed path(s…
26 …dir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
29 Warning: lstat(): open_basedir restriction in effect. File(..) is not within the allowed path(s): (…
32 Warning: lstat(): open_basedir restriction in effect. File(../) is not within the allowed path(s): …
35 Warning: lstat(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (.…
38 Warning: lstat(): open_basedir restriction in effect. File(../bad/.) is not within the allowed path
41 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
44 …ion in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
47 Warning: lstat(): open_basedir restriction in effect. File(./../.) is not within the allowed path(s…
H A Dopen_basedir_stat.phpt23 Warning: stat(): open_basedir restriction in effect. File(../bad) is not within the allowed path(s)…
26 …dir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
29 Warning: stat(): open_basedir restriction in effect. File(..) is not within the allowed path(s): (.…
32 Warning: stat(): open_basedir restriction in effect. File(../) is not within the allowed path(s): (…
35 Warning: stat(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (.)…
38 Warning: stat(): open_basedir restriction in effect. File(../bad/.) is not within the allowed path(…
41 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
44 …ion in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
47 Warning: stat(): open_basedir restriction in effect. File(./../.) is not within the allowed path(s)…
H A Dopen_basedir_disk_free_space.phpt28 …pen_basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on li…
31 …dir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
34 …): open_basedir restriction in effect. File(..) is not within the allowed path(s): (.) in %s on li…
37 …: open_basedir restriction in effect. File(../) is not within the allowed path(s): (.) in %s on li…
40 …(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (.) in %s on li…
43 …n_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on li…
46 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
49 …ion in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
H A Dopen_basedir_realpath.phpt29 …asedir restriction in effect. File(%s\test\bad) is not within the allowed path(s): (.) in %s on li…
32 …estriction in effect. File(%s\test\bad\bad.txt) is not within the allowed path(s): (.) in %s on li…
35 …en_basedir restriction in effect. File(%s\test) is not within the allowed path(s): (.) in %s on li…
38 …en_basedir restriction in effect. File(%s\test) is not within the allowed path(s): (.) in %s on li…
41 Warning: realpath(): open_basedir restriction in effect. File(%s\) is not within the allowed path(s…
44 …asedir restriction in effect. File(%s\test\bad) is not within the allowed path(s): (.) in %s on li…
47 …estriction in effect. File(%s\test\bad\bad.txt) is not within the allowed path(s): (.) in %s on li…
50 …estriction in effect. File(%s\test\bad\bad.txt) is not within the allowed path(s): (.) in %s on li…
53 …en_basedir restriction in effect. File(%s\test) is not within the allowed path(s): (.) in %s on li…
H A Dopen_basedir_dir.phpt31 Warning: dir(): open_basedir restriction in effect. File(../bad) is not within the allowed path(s):…
36 …dir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
41 Warning: dir(): open_basedir restriction in effect. File(..) is not within the allowed path(s): (.)…
46 Warning: dir(): open_basedir restriction in effect. File(../) is not within the allowed path(s): (.…
51 Warning: dir(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (.) …
56 Warning: dir(): open_basedir restriction in effect. File(../bad/.) is not within the allowed path(s…
61 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
66 …ion in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
71 ["path"]=>
77 ["path"]=>
[all …]
H A Dopen_basedir_is_executable.phpt32 …pen_basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on li…
35 …dir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
38 …): open_basedir restriction in effect. File(..) is not within the allowed path(s): (.) in %s on li…
41 …: open_basedir restriction in effect. File(../) is not within the allowed path(s): (.) in %s on li…
44 …(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (.) in %s on li…
47 …n_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on li…
50 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
53 …ion in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
/PHP-5.5/ext/spl/examples/
H A Ddirectoryfilterdots.inc22 /** Construct from a path.
23 * @param $path directory to iterate
25 function __construct($path)
27 parent::__construct(new RecursiveDirectoryIterator($path));
37 /** @return the current entries path name
H A Dregexfindfile.inc20 /** Construct from path and regular expression
22 * @param $path the directory to search in
23 * If path contains ';' then this parameter is split and every
27 function __construct($path, $regex)
29 parent::__construct($path, $regex);
/PHP-5.5/ext/opcache/tests/
H A Dopcache-2.blacklist1 /path/to/bar
5 /tmp/path/?nocache.inc
6 /tmp/path/*/somedir
/PHP-5.5/ext/standard/tests/file/
H A Dinclude_streams.phpt13 public $path;
20 function url_stat($path, $flags) {
28 function stream_open($path, $mode, $options, &$opened_path)
30 $this->path = $path;
34 $split = parse_url($path);
36 empty($split["path"]) ||
37 empty($GLOBALS[substr($split["path"],1)])) {
40 $this->varname = substr($split["path"],1);
H A Dreadfile_variation3.phpt2 Test readfile() function: usage variation - include path
8 /* test readfile() by providing an include path, second argument */
16 echo "*** Testing readfile(): checking second argument, include path ***\n";
32 // use the context argument with include path
33 echo "*** Testing readfile(): checking second argument, include path with context specified ***\n";
47 *** Testing readfile(): checking second argument, include path ***
55 *** Testing readfile(): checking second argument, include path with context specified ***
H A Dfile_variation5-win32.phpt23 echo "file() on a path containing .. and .\n";
26 echo "\nfile() on a path containing .. with invalid directories\n";
29 echo "\nfile() on a relative path from a different working directory\n";
40 file() on a path containing .. and .
52 file() on a path containing .. with invalid directories
64 file() on a relative path from a different working directory
H A Dfnmatch_variation.phpt187 Warning: fnmatch() expects parameter 1 to be a valid path, string given in %s on line %d
191 Warning: fnmatch() expects parameter 1 to be a valid path, string given in %s on line %d
267 Warning: fnmatch() expects parameter 2 to be a valid path, string given in %s on line %d
271 Warning: fnmatch() expects parameter 2 to be a valid path, string given in %s on line %d
277 Warning: fnmatch() expects parameter 1 to be a valid path, string given in %s on line %d
280 Warning: fnmatch() expects parameter 1 to be a valid path, string given in %s on line %d
283 Warning: fnmatch() expects parameter 1 to be a valid path, string given in %s on line %d
286 Warning: fnmatch() expects parameter 1 to be a valid path, string given in %s on line %d
289 Warning: fnmatch() expects parameter 1 to be a valid path, string given in %s on line %d
292 Warning: fnmatch() expects parameter 1 to be a valid path, string given in %s on line %d
[all …]
H A Drealpath_variation2.phpt12 /* Prototype : string realpath(string path)
13 * Description: Return the resolved path
32 foreach($paths as $path) {
33 echo "\n--$path--\n";
34 var_dump( realpath($path) );
H A Drename_variation13-win32.phpt33 /* prefix with path separator of a non existing directory*/
114 Warning: rename() expects parameter 2 to be a valid path, string given in %srename_variation13-win3…
117 Warning: file_exists() expects parameter 1 to be a valid path, string given in %srename_variation13…
119 Warning: rename() expects parameter 1 to be a valid path, string given in %srename_variation13-win3…
123 Warning: rename() expects parameter 2 to be a valid path, array given in %srename_variation13-win32…
126 Warning: file_exists() expects parameter 1 to be a valid path, array given in %srename_variation13-…
128 Warning: rename() expects parameter 1 to be a valid path, array given in %srename_variation13-win32…
132 Warning: rename(%safile.tmp,/no/such/file/dir): The system cannot find the path specified. (code: 3…
135 Warning: rename(/no/such/file/dir,%safile.tmp): The system cannot find the path specified. (code: 3…
139 Warning: rename(%safile.tmp,php/php): The system cannot find the path specified. (code: 3) in %sren…
[all …]
/PHP-5.5/main/streams/
H A Dphp_stream_plain_wrapper.h33 PHPAPI php_stream *_php_stream_fopen_with_path(char *filename, char *mode, char *path, char **opene…
34 …php_stream_fopen_with_path(filename, mode, path, opened) _php_stream_fopen_with_path((filename), (… argument
54 PHPAPI FILE * _php_stream_open_wrapper_as_file(char * path, char * mode, int options, char **opened…
55 #define php_stream_open_wrapper_as_file(path, mode, options, opened_path) _php_stream_open_wrapper_… argument
/PHP-5.5/ext/phar/
H A Ddirstream.c337 if (!resource->scheme || !resource->host || !resource->path) { in phar_wrapper_open_dir()
338 if (resource->host && !resource->path) { in phar_wrapper_open_dir()
344 …r, options TSRMLS_CC, "phar error: invalid url \"%s\", must have at least phar://%s/", path, path); in phar_wrapper_open_dir()
356 internal_file = resource->path + 1; /* strip leading "/" */ in phar_wrapper_open_dir()
485 …if ((e = phar_get_entry_info_dir(phar, resource->path + 1, strlen(resource->path + 1), 2, &error, … in phar_wrapper_mkdir()
503 …if (phar_get_entry_info_dir(phar, resource->path + 1, strlen(resource->path + 1), 0, &error, 1 TSR… in phar_wrapper_mkdir()
524 entry.filename = estrdup(resource->path + 1); in phar_wrapper_mkdir()
531 entry.filename_len = strlen(resource->path + 1); in phar_wrapper_mkdir()
622 path_len = strlen(resource->path+1); in phar_wrapper_rmdir()
643 memcmp(str_key, resource->path+1, path_len) == 0 && in phar_wrapper_rmdir()
[all …]
/PHP-5.5/ext/standard/tests/dir/
H A Dopendir_error1.phpt5 /* Prototype : mixed opendir(string $path[, resource $context])
22 $path = dirname(__FILE__) . "/opendir_error";
23 mkdir($path);
27 var_dump( opendir($path, $context, $extra_arg) );
32 $path = dirname(__FILE__) . "/opendir_error";
33 rmdir($path);
H A Dreaddir_variation2.phpt16 $path = dirname(__FILE__) . '/readdir_variation2';
17 mkdir($path);
18 $dir_handle = opendir($path);
39 $path = dirname(__FILE__) . '/readdir_variation2';
40 rmdir($path);
/PHP-5.5/ext/session/tests/
H A Dsession_get_cookie_params_basic.phpt25 var_dump(session_set_cookie_params(3600, "/path", "blah", FALSE, FALSE));
38 ["path"]=>
51 ["path"]=>
52 string(5) "/path"
64 ["path"]=>
/PHP-5.5/ext/sockets/tests/
H A Dsocket_cmsg_rights.phpt13 $path = __DIR__ . "/unix_sock";
14 @unlink($path);
19 $path = __DIR__ . "/unix_sock";
21 @unlink($path);
31 $br = socket_bind($s, $path) or die("err");
36 "name" => [ "path" => $path ],
/PHP-5.5/ext/standard/tests/strings/
H A Ddirname_variation.phpt5 /* Prototype: string dirname ( string $path );
6 Description: Returns directory name component of path.
30 /* path containing numeric string */
42 /* path as spaces */
46 /* empty path */
64 echo "*** Testing possible variations in path ***\n";
70 \*\*\* Testing possible variations in path \*\*\*
/PHP-5.5/ext/standard/tests/file/windows_acls/
H A Dbug44859_3.phpt20 $path = __DIR__;
23 $path = __DIR__ . '/' . $file;
25 if (is_executable($path) == $exp) {
28 var_dump(is_executable($path), $exp);
/PHP-5.5/main/
H A Dfopen_wrappers.c160 path_len = strlen(path);
303 if (strlen(path) > (MAXPATHLEN - 1)) {
349 fp = VCWD_FOPEN(path, mode);
501 !path ||
502 !*path) {
510 ptr = path;
635 || (!path || (path && !*path))
647 path_length = strlen(path);
652 pathbuf = estrdup(path);
655 memcpy(pathbuf, path, path_length);
[all …]

Completed in 34 milliseconds

12345678910>>...28