Home
last modified time | relevance | path

Searched refs:path (Results 126 – 150 of 847) sorted by relevance

12345678910>>...34

/PHP-7.1/ext/standard/
H A Dftp_fopen_wrapper.c145 resource = php_url_parse(path); in php_ftp_fopen_connect()
740 php_stream_printf(stream, "NLST %s\r\n", (resource->path != NULL ? resource->path : "/")); in php_stream_ftp_opendir()
821 php_stream_printf(stream, "SIZE %s\r\n", (resource->path != NULL ? resource->path : "/")); in php_stream_ftp_url_stat()
836 php_stream_printf(stream, "MDTM %s\r\n", (resource->path != NULL ? resource->path : "/")); in php_stream_ftp_url_stat()
927 if (resource->path == NULL) { in php_stream_ftp_unlink()
935 php_stream_printf(stream, "DELE %s\r\n", (resource->path != NULL ? resource->path : "/")); in php_stream_ftp_unlink()
985 !resource_from->path || in php_stream_ftp_rename()
986 !resource_to->path) { in php_stream_ftp_rename()
1010 php_stream_printf(stream, "RNTO %s\r\n", (resource_to->path != NULL ? resource_to->path : "/")); in php_stream_ftp_rename()
1056 if (resource->path == NULL) { in php_stream_ftp_mkdir()
[all …]
/PHP-7.1/tests/security/
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.1/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.1/ext/standard/tests/dir/
H A Dreaddir_error-win32-mb.phpt26 $path = dirname(__FILE__) . "/私はガラスを食べられますreaddir_error";
27 mkdir($path);
28 $dir_handle = opendir($path);
39 $path = dirname(__FILE__) . "/私はガラスを食べられますreaddir_error";
40 rmdir($path);
/PHP-7.1/ext/standard/tests/file/
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-7.1/ext/standard/tests/file/windows_mb_path/
H A Dtest_cp1255_to_utf8_1.phpt2 Test mkdir/rmdir cp1255 to UTF-8 path
23 $path = $prefix . DIRECTORY_SEPARATOR . "${item}42";
25 $subpath = $path . DIRECTORY_SEPARATOR . "${item}4";
28 var_dump(file_exists($path));
H A Dtest_kartuli_utf8_1.phpt2 Test mkdir/rmdir Kartuli UTF-8 path
23 $path = $prefix . DIRECTORY_SEPARATOR . "${item}42";
25 $subpath = $path . DIRECTORY_SEPARATOR . "${item}4";
28 var_dump(file_exists($path));
H A Dtest_long_path_bug70943.phpt2 Bug #70943 fopen() can't open a file if path is 259 characters long
13 // Generates a sample file whose path is exactly 259 characters long
15 echo "Generating a file with a path length of ".strlen($testFile)." characters...\r\n";
29 Generating a file with a path length of 259 characters...
H A Dtest_cp1253_to_utf8_1.phpt2 Test mkdir/rmdir cp1253 to UTF-8 path
23 $path = $prefix . DIRECTORY_SEPARATOR . "${item}42";
25 $subpath = $path . DIRECTORY_SEPARATOR . "${item}4";
28 var_dump(file_exists($path));
H A Dtest_cp1256_to_utf8_1.phpt2 Test mkdir/rmdir cp1256 to UTF-8 path
23 $path = $prefix . DIRECTORY_SEPARATOR . "${item}42";
25 $subpath = $path . DIRECTORY_SEPARATOR . "${item}4";
28 var_dump(file_exists($path));
H A Dtest_cp1256_1.phpt2 Test mkdir/rmdir cp1256 to UTF-8 path
26 $path = $prefix . DIRECTORY_SEPARATOR . "${item}42";
28 $subpath = $path . DIRECTORY_SEPARATOR . "${item}4";
31 var_dump(file_exists($path));
H A Dtest_cp936_to_utf8_1.phpt2 Test mkdir/rmdir cp936 to UTF-8 path
23 $path = $prefix . DIRECTORY_SEPARATOR . "${item}5";
25 $subpath = $path . DIRECTORY_SEPARATOR . "${item}4";
28 var_dump(file_exists($path));
H A Dtest_eucjp_to_utf8_1.phpt2 Test mkdir/rmdir eucjp to UTF-8 path
23 $path = $prefix . DIRECTORY_SEPARATOR . "${item}42";
25 $subpath = $path . DIRECTORY_SEPARATOR . "${item}4";
28 var_dump(file_exists($path));
H A Dtest_big5_to_utf8_1.phpt2 Test mkdir/rmdir big5 to UTF-8 path
23 $path = $prefix . DIRECTORY_SEPARATOR . "${item}5";
25 $subpath = $path . DIRECTORY_SEPARATOR . "${item}4";
28 var_dump(file_exists($path));
H A Dtest_cp1251_1.phpt2 Test mkdir/rmdir CP1251 path
26 $path = $prefix . DIRECTORY_SEPARATOR . $item . "3";
28 $subpath = $path . DIRECTORY_SEPARATOR . "${item}4";
31 var_dump(file_exists($path));
H A Dtest_cp1251_to_utf8_1.phpt2 Test mkdir/rmdir CP1251 to UTF-8 path
23 $path = $prefix . DIRECTORY_SEPARATOR . $item . "3";
25 $subpath = $path . DIRECTORY_SEPARATOR . "${item}4";
28 var_dump(file_exists($path));
H A Dtest_cp1253_1.phpt2 Test mkdir/rmdir cp1253 path
26 $path = $prefix . DIRECTORY_SEPARATOR . "${item}42";
28 $subpath = $path . DIRECTORY_SEPARATOR . "${item}4";
31 var_dump(file_exists($path));
/PHP-7.1/main/
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.1/ext/xmlwriter/tests/
H A Dbug48204.phpt7 $path = str_repeat('a', PHP_MAXPATHLEN + 1);
8 var_dump(xmlwriter_open_uri('file:///' . $path));
15 Warning: xmlwriter_open_uri(): Unable to resolve file path in %s on line %d
/PHP-7.1/ext/session/tests/
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-7.1/ext/spl/tests/
H A Dfileobject_005.phpt11 $path = dirname(__FILE__).DIRECTORY_SEPARATOR.'fileobject_005.txt';
12 touch($path);
31 $path = dirname(__FILE__).DIRECTORY_SEPARATOR.'fileobject_005.txt';
32 unlink($path);

Completed in 55 milliseconds

12345678910>>...34