Home
last modified time | relevance | path

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

12345678910>>...29

/PHP-5.6/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;
636 || (!path || (path && !*path))
648 path_length = strlen(path);
653 pathbuf = estrdup(path);
656 memcpy(pathbuf, path, path_length);
[all …]
/PHP-5.6/ext/standard/tests/file/
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 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 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
H A Dsymlink_to_symlink.phpt2 symlink() using a relative path, and symlink() to a symlink
18 // symlink to a symlink using a relative path
21 // symlink to a non-existent path
25 // symlink to a regular file using an absolute path
28 // symlink to a symlink using an absolute path
/PHP-5.6/tests/security/
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-5.6/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-5.6/main/streams/
H A Dmemory.c638 path += 5; in php_stream_url_wrap_rfc2397()
639 dlen = strlen(path); in php_stream_url_wrap_rfc2397()
641 if (dlen >= 2 && path[0] == '/' && path[1] == '/') { in php_stream_url_wrap_rfc2397()
643 path += 2; in php_stream_url_wrap_rfc2397()
651 if (comma != path) { in php_stream_url_wrap_rfc2397()
653 mlen = comma - path; in php_stream_url_wrap_rfc2397()
669 plen = semi - path; in php_stream_url_wrap_rfc2397()
672 path += plen; in php_stream_url_wrap_rfc2397()
680 path++; in php_stream_url_wrap_rfc2397()
697 plen = sep - path; in php_stream_url_wrap_rfc2397()
[all …]
/PHP-5.6/ext/session/tests/
H A Dbug32330.phpt16 function sOpen($path, $name)
18 echo "open: path = {$path}, name = {$name}\n";
71 open: path = /tmp, name = sid
76 open: path = /tmp, name = sid
81 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
H A Dsession_set_cookie_params_variation4.phpt13 …* Prototype : void session_set_cookie_params(int $lifetime [, string $path [, string $domain [, bo…
21 var_dump(session_set_cookie_params(3600, "/path", "blah", FALSE));
25 var_dump(session_set_cookie_params(3600, "/path", "blah", TRUE));
29 var_dump(session_set_cookie_params(3600, "/path", "blah", FALSE));
/PHP-5.6/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-5.6/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-5.6/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
/PHP-5.6/ext/sockets/tests/
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-5.6/ext/standard/
H A Dhead.c76 …ar *name, int name_len, char *value, int value_len, time_t expires, char *path, int path_len, char… in php_setcookie() argument
104 if (path) { in php_setcookie()
151 if (path && path_len > 0) { in php_setcookie()
153 strlcat(cookie, path, len + 100); in php_setcookie()
180 char *name, *value = NULL, *path = NULL, *domain = NULL; in PHP_FUNCTION() local
186 &name_len, &value, &value_len, &expires, &path, in PHP_FUNCTION()
191 …if (php_setcookie(name, name_len, value, value_len, expires, path, path_len, domain, domain_len, s… in PHP_FUNCTION()
203 char *name, *value = NULL, *path = NULL, *domain = NULL; in PHP_FUNCTION() local
209 &name_len, &value, &value_len, &expires, &path, in PHP_FUNCTION()
214 …if (php_setcookie(name, name_len, value, value_len, expires, path, path_len, domain, domain_len, s… in PHP_FUNCTION()
H A Dftp_fopen_wrapper.c145 resource = php_url_parse(path); in php_ftp_fopen_connect()
742 …php_stream_printf(stream TSRMLS_CC, "NLST %s\r\n", (resource->path != NULL ? resource->path : "/")… in php_stream_ftp_opendir()
823 …php_stream_printf(stream TSRMLS_CC, "SIZE %s\r\n", (resource->path != NULL ? resource->path : "/")… in php_stream_ftp_url_stat()
838 …php_stream_printf(stream TSRMLS_CC, "MDTM %s\r\n", (resource->path != NULL ? resource->path : "/")… in php_stream_ftp_url_stat()
929 if (resource->path == NULL) { in php_stream_ftp_unlink()
937 …php_stream_printf(stream TSRMLS_CC, "DELE %s\r\n", (resource->path != NULL ? resource->path : "/")… in php_stream_ftp_unlink()
987 !resource_from->path || in php_stream_ftp_rename()
988 !resource_to->path) { in php_stream_ftp_rename()
1058 if (resource->path == NULL) { in php_stream_ftp_mkdir()
1072 buf = estrdup(resource->path); in php_stream_ftp_mkdir()
[all …]
/PHP-5.6/ext/phar/phar/
H A Ddirectorytreeiterator.inc19 /** Construct from a path.
20 * @param $path directory to iterate
22 function __construct($path)
26 new RecursiveDirectoryIterator($path, RecursiveDirectoryIterator::KEY_AS_FILENAME
/PHP-5.6/ext/spl/examples/
H A Ddirectorytreeiterator.inc19 /** Construct from a path.
20 * @param $path directory to iterate
22 function __construct($path)
26 new RecursiveDirectoryIterator($path, RecursiveDirectoryIterator::KEY_AS_FILENAME

Completed in 64 milliseconds

12345678910>>...29