Home
last modified time | relevance | path

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

12345678910>>...29

/PHP-7.0/ext/sockets/tests/
H A Dsocket_cmsg_rights.phpt16 $path = __DIR__ . "/unix_sock";
17 @unlink($path);
22 $path = __DIR__ . "/unix_sock";
24 @unlink($path);
34 $br = socket_bind($s, $path) or die("err");
39 "name" => [ "path" => $path ],
H A Dsocket_cmsg_credentials.phpt16 $path = __DIR__ . "/unix_sock";
17 @unlink($path);
22 $path = __DIR__ . "/unix_sock";
24 @unlink($path);
34 $br = socket_bind($s, $path) or die("err");
43 $r = socket_sendto($sends1, $msg = "dread", strlen($msg), 0, $path);
/PHP-7.0/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.0/tests/security/
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…
H A Dopen_basedir_chmod.phpt43 Warning: chmod(): 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…
49 Warning: chmod(): open_basedir restriction in effect. File(..) is not within the allowed path(s): (…
52 Warning: chmod(): open_basedir restriction in effect. File(../) is not within the allowed path(s): …
55 Warning: chmod(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (.…
58 Warning: chmod(): open_basedir restriction in effect. File(../bad/.) is not within the allowed path
61 …r restriction in effect. File(../bad/./bad.txt) is not within the allowed path(s): (.) in %s on li…
64 Warning: chmod(): open_basedir restriction in effect. File(./../.) is not within the allowed path(s…
H A Dopen_basedir_link.phpt49 …striction in effect. File(%s/test/bad/link.txt) is not within the allowed path(s): (.) in %s on li…
52 …r restriction in effect. File(%s/test/link.txt) is not within the allowed path(s): (.) in %s on li…
55 …striction in effect. File(%s/test/bad/link.txt) is not within the allowed path(s): (.) in %s on li…
58 …r restriction in effect. File(%s/test/link.txt) is not within the allowed path(s): (.) in %s on li…
61 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
64 …asedir restriction in effect. File(%s/test/bad) 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 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
73 …asedir restriction in effect. File(%s/test/bad) is not within the allowed path(s): (.) in %s on li…
H A Dopen_basedir_tempnam.phpt48 Warning: tempnam(): open_basedir restriction in effect. File(../bad) is not within the allowed path
51 Warning: tempnam(): open_basedir restriction in effect. File(..) is not within the allowed path(s):…
54 Warning: tempnam(): open_basedir restriction in effect. File(../) is not within the allowed path(s)…
57 Warning: tempnam(): open_basedir restriction in effect. File(/) is not within the allowed path(s): …
60 …n_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on li…
63 Warning: tempnam(): open_basedir restriction in effect. File(./../.) is not within the allowed path
66 Warning: tempnam(): open_basedir restriction in effect. File() is not within the allowed path(s): (…
/PHP-7.0/ext/standard/tests/file/
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.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 Dfile_put_contents_variation4.phpt2 Test file_put_contents() function : variation - include path testing
39 // in the include path. In this case it doesn't so the file should be written in the current dir.
40 file_put_contents($filename, (binary) "File in include path", FILE_USE_INCLUDE_PATH);
49 File in include path
50 File in include path
/PHP-7.0/ext/standard/tests/dir/
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);
/PHP-7.0/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 …]
H A Dphp_streams.h70 …m_fopen_with_path_rel(filename, mode, path, opened, options) _php_stream_fopen_with_path((filename… argument
81 #define php_stream_open_wrapper_rel(path, mode, options, opened) _php_stream_open_wrapper_ex((path)… argument
82 #define php_stream_open_wrapper_ex_rel(path, mode, options, opened, context) _php_stream_open_wrapp… argument
347 #define php_stream_stat_path(path, ssb) _php_stream_stat_path((path), 0, (ssb), NULL) argument
348 #define php_stream_stat_path_ex(path, flags, ssb, context) _php_stream_stat_path((path), (flags), (… argument
351 #define php_stream_mkdir(path, mode, options, context) _php_stream_mkdir(path, mode, options, conte… argument
353 PHPAPI int _php_stream_rmdir(const char *path, int options, php_stream_context *context);
354 #define php_stream_rmdir(path, options, context) _php_stream_rmdir(path, options, context) argument
357 #define php_stream_opendir(path, options, context) _php_stream_opendir((path), (options), (context)… argument
568 #define php_stream_open_wrapper(path, mode, options, opened) _php_stream_open_wrapper_ex((path), (m… argument
[all …]
/PHP-7.0/win32/
H A Dwinutil.c37 int php_win32_check_trailing_space(const char * path, const int path_len) { in php_win32_check_trailing_space() argument
41 if (path) { in php_win32_check_trailing_space()
42 if (path[0] == ' ' || path[path_len - 1] == ' ') { in php_win32_check_trailing_space()
/PHP-7.0/ext/session/tests/
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
H A Dsession_save_path_variation4.phpt16 * Prototype : string session_save_path([string $path])
17 * Description : Get and/or set the current session save path
54 Warning: ini_set(): open_basedir restriction in effect. File(%s) is not within the allowed path(s):…
57 …): open_basedir restriction in effect. File(%s) is not within the allowed path(s): (.) in %s on li…
59 Fatal error: session_start(): Failed to initialize storage module: files (path: ) in %s on line %d
/PHP-7.0/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 …]
/PHP-7.0/ext/standard/
H A Dftp_fopen_wrapper.c145 resource = php_url_parse(path); in php_ftp_fopen_connect()
732 php_stream_printf(stream, "NLST %s\r\n", (resource->path != NULL ? resource->path : "/")); in php_stream_ftp_opendir()
813 php_stream_printf(stream, "SIZE %s\r\n", (resource->path != NULL ? resource->path : "/")); in php_stream_ftp_url_stat()
828 php_stream_printf(stream, "MDTM %s\r\n", (resource->path != NULL ? resource->path : "/")); in php_stream_ftp_url_stat()
919 if (resource->path == NULL) { in php_stream_ftp_unlink()
927 php_stream_printf(stream, "DELE %s\r\n", (resource->path != NULL ? resource->path : "/")); in php_stream_ftp_unlink()
977 !resource_from->path || in php_stream_ftp_rename()
978 !resource_to->path) { in php_stream_ftp_rename()
1002 php_stream_printf(stream, "RNTO %s\r\n", (resource_to->path != NULL ? resource_to->path : "/")); in php_stream_ftp_rename()
1048 if (resource->path == NULL) { in php_stream_ftp_mkdir()
[all …]
/PHP-7.0/ext/phar/
H A Dshortarc.php175 foreach ($info['m'] as $path => $file) {
176 $a = !file_exists(dirname($temp . '/' . $path));
177 @mkdir(dirname($temp . '/' . $path), 0777, true);
180 if ($path[strlen($path) - 1] == '/') {
181 @mkdir($temp . '/' . $path, 0777);
183 file_put_contents($temp . '/' . $path, self::extractFile($path, $file, $fp));
184 @chmod($temp . '/' . $path, 0666);
245 static function extractFile($path, $entry, $fp) argument
/PHP-7.0/ext/xmlwriter/tests/
H A Dbug48204.phpt7 $path = str_repeat('a', PHP_MAXPATHLEN + 1);
8 var_dump(xmlwriter_open_uri('file:///' . $path));
16 Warning: xmlwriter_open_uri(): Unable to resolve file path in %s on line %d

Completed in 71 milliseconds

12345678910>>...29