Home
last modified time | relevance | path

Searched refs:path (Results 101 – 125 of 847) sorted by relevance

12345678910>>...34

/PHP-7.1/ext/session/tests/
H A Dsession_basic5.phpt39 <a href="/path">test</a>
40 <a href="/path/">test</a>
41 <a href="/path/?foo=var">test</a>
43 <a href="../path">test</a>
44 <a href="../path/">test</a>
45 <a href="../path/?foo=var">test</a>
48 <a href="/path/#bar">test</a>
49 <a href="/path/?foo=var#bar">test</a>
51 <a href="../path/#bar">test</a>
52 <a href="../path/?foo=var#bar">test</a>
[all …]
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"]=>
H A Dbug32330.phpt17 function sOpen($path, $name)
19 echo "open: path = {$path}, name = {$name}\n";
72 open: path = /tmp, name = sid
77 open: path = /tmp, name = sid
82 open: path = /tmp, name = sid
/PHP-7.1/tests/security/
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…
H A Dopen_basedir_chdir.phpt32 Warning: chdir(): open_basedir restriction in effect. File(../bad) is not within the allowed path(s…
35 Warning: chdir(): open_basedir restriction in effect. File(..) is not within the allowed path(s): (…
38 Warning: chdir(): open_basedir restriction in effect. File(../) is not within the allowed path(s): …
41 Warning: chdir(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (.…
44 Warning: chdir(): open_basedir restriction in effect. File(../bad/.) is not within the allowed path
47 Warning: chdir(): open_basedir restriction in effect. File(./../.) is not within the allowed path(s…
H A Dopen_basedir_touch.phpt41 Warning: touch(): open_basedir restriction in effect. File(../bad) is not within the allowed path(s…
44 …dir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
47 Warning: touch(): open_basedir restriction in effect. File(..) is not within the allowed path(s): (…
50 Warning: touch(): open_basedir restriction in effect. File(../) is not within the allowed path(s): …
53 Warning: touch(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (.…
56 Warning: touch(): open_basedir restriction in effect. File(../bad/.) is not within the allowed path
59 …r restriction in effect. File(../bad/./bad.txt) is not within the allowed path(s): (.) in %s on li…
62 Warning: touch(): open_basedir restriction in effect. File(./../.) is not within the allowed path(s…
/PHP-7.1/ext/standard/
H A Dhead.c80 PHPAPI int php_setcookie(zend_string *name, zend_string *value, time_t expires, zend_string *path, … in php_setcookie() argument
114 if (path) { in php_setcookie()
115 len += ZSTR_LEN(path); in php_setcookie()
167 if (path && ZSTR_LEN(path)) { in php_setcookie()
169 strlcat(cookie, ZSTR_VAL(path), len + 100); in php_setcookie()
196 zend_string *name, *value = NULL, *path = NULL, *domain = NULL; in PHP_FUNCTION() local
201 &name, &value, &expires, &path, &domain, &secure, &httponly) == FAILURE) { in PHP_FUNCTION()
205 if (php_setcookie(name, value, expires, path, domain, secure, 1, httponly) == SUCCESS) { in PHP_FUNCTION()
217 zend_string *name, *value = NULL, *path = NULL, *domain = NULL; in PHP_FUNCTION() local
222 &name, &value, &expires, &path, &domain, &secure, &httponly) == FAILURE) { in PHP_FUNCTION()
[all …]
/PHP-7.1/ext/standard/tests/dir/
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);
H A Dopendir_error1-win32-mb.phpt11 /* Prototype : mixed opendir(string $path[, resource $context])
28 $path = dirname(__FILE__) . "/私はガラスを食べられますopendir_error";
29 mkdir($path);
33 var_dump( opendir($path, $context, $extra_arg) );
38 $path = dirname(__FILE__) . "/私はガラスを食べられますopendir_error";
39 rmdir($path);
H A Dreaddir_error.phpt20 $path = dirname(__FILE__) . "/readdir_error";
21 mkdir($path);
22 $dir_handle = opendir($path);
33 $path = dirname(__FILE__) . "/readdir_error";
34 rmdir($path);
H A Dreaddir_variation2-win32-mb.phpt22 $path = dirname(__FILE__) . '/私はガラスを食べられますreaddir_variation2';
23 mkdir($path);
24 $dir_handle = opendir($path);
45 $path = dirname(__FILE__) . '/私はガラスを食べられますreaddir_variation2';
46 rmdir($path);
/PHP-7.1/ext/standard/tests/file/
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 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 Dfseek_dir_basic.phpt9 $path = dirname(__FILE__) . '/fseek_dir_basic';
10 mkdir($path);
11 create_files($path, 3);
14 var_dump($dh = opendir($path));
38 delete_files($path, 3);
40 var_dump(rmdir($path));
H A Dfile_variation5.phpt23 echo "file() on a path containing .. and .\n";
26 echo "\nfile() on a path containing .. with invalid directories\n";
35 echo "\nfile() on a relative path from a different working directory\n";
46 file() on a path containing .. and .
58 file() on a path containing .. with invalid directories
84 file() on a relative path from a different working directory
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 …]
H A Dchmod_variation2-win32-mb.phpt24 echo "chmod() on a path containing .. and .\n";
30 echo "\nchmod() on a path containing .. with invalid directories\n";
36 echo "\nchmod() on a relative path from a different working directory\n";
56 chmod() on a path containing .. and .
61 chmod() on a path containing .. with invalid directories
66 chmod() on a relative path from a different working directory
H A Dchmod_variation2-win32.phpt24 echo "chmod() on a path containing .. and .\n";
30 echo "\nchmod() on a path containing .. with invalid directories\n";
36 echo "\nchmod() on a relative path from a different working directory\n";
56 chmod() on a path containing .. and .
61 chmod() on a path containing .. with invalid directories
66 chmod() on a relative path from a different working directory
/PHP-7.1/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-7.1/ext/sockets/tests/
H A Dsocket_cmsg_rights.phpt16 $path = __DIR__ . "/unix_sock";
17 @unlink($path);
21 $path = __DIR__ . "/unix_sock";
23 @unlink($path);
33 $br = socket_bind($s, $path) or die("err");
38 "name" => [ "path" => $path ],
/PHP-7.1/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-7.1/main/
H A Dfopen_wrappers.c156 path_len = strlen(path);
294 if (strlen(path) > (MAXPATHLEN - 1)) {
340 fp = VCWD_FOPEN(path, mode);
515 !path ||
516 !*path) {
524 ptr = path;
651 || (!path || !*path)
668 pathbuf = estrdup(path);
670 size_t path_length = strlen(path);
673 memcpy(pathbuf, path, path_length);
[all …]
/PHP-7.1/main/streams/
H A Dmemory.c644 path += 5; in php_stream_url_wrap_rfc2397()
645 dlen = strlen(path); in php_stream_url_wrap_rfc2397()
647 if (dlen >= 2 && path[0] == '/' && path[1] == '/') { in php_stream_url_wrap_rfc2397()
649 path += 2; in php_stream_url_wrap_rfc2397()
657 if (comma != path) { in php_stream_url_wrap_rfc2397()
659 mlen = comma - path; in php_stream_url_wrap_rfc2397()
674 plen = semi - path; in php_stream_url_wrap_rfc2397()
677 path += plen; in php_stream_url_wrap_rfc2397()
685 path++; in php_stream_url_wrap_rfc2397()
702 plen = sep - path; in php_stream_url_wrap_rfc2397()
[all …]

Completed in 59 milliseconds

12345678910>>...34