Home
last modified time | relevance | path

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

12345678910>>...35

/PHP-7.3/ext/standard/
H A Dftp_fopen_wrapper.c142 resource = php_url_parse(path); in php_ftp_fopen_connect()
737 …php_stream_printf(stream, "NLST %s\r\n", (resource->path != NULL ? ZSTR_VAL(resource->path) : "/")… in php_stream_ftp_opendir()
818 …php_stream_printf(stream, "SIZE %s\r\n", (resource->path != NULL ? ZSTR_VAL(resource->path) : "/")… in php_stream_ftp_url_stat()
833 …php_stream_printf(stream, "MDTM %s\r\n", (resource->path != NULL ? ZSTR_VAL(resource->path) : "/")… in php_stream_ftp_url_stat()
924 if (resource->path == NULL) { in php_stream_ftp_unlink()
932 …php_stream_printf(stream, "DELE %s\r\n", (resource->path != NULL ? ZSTR_VAL(resource->path) : "/")… in php_stream_ftp_unlink()
982 !resource_from->path || in php_stream_ftp_rename()
983 !resource_to->path) { in php_stream_ftp_rename()
1053 if (resource->path == NULL) { in php_stream_ftp_mkdir()
1067 buf = estrndup(ZSTR_VAL(resource->path), ZSTR_LEN(resource->path)); in php_stream_ftp_mkdir()
[all …]
/PHP-7.3/ext/standard/tests/file/
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
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, "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.3/ext/session/tests/
H A Dbug32330.phpt17 function sOpen($path, $name)
19 echo "open: path = {$path}, name = {$name}\n";
72 open: path = %s, name = sid
77 open: path = %s, name = sid
82 open: path = %s, name = sid
/PHP-7.3/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.3/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.3/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.3/ext/standard/tests/file/windows_mb_path/
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_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_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_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_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_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.3/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.3/main/
H A Dphp_streams.h68 …m_fopen_with_path_rel(filename, mode, path, opened, options) _php_stream_fopen_with_path((filename… argument
79 #define php_stream_open_wrapper_rel(path, mode, options, opened) _php_stream_open_wrapper_ex((path)… argument
80 #define php_stream_open_wrapper_ex_rel(path, mode, options, opened, context) _php_stream_open_wrapp… argument
349 #define php_stream_stat_path(path, ssb) _php_stream_stat_path((path), 0, (ssb), NULL) argument
350 #define php_stream_stat_path_ex(path, flags, ssb, context) _php_stream_stat_path((path), (flags), (… argument
353 #define php_stream_mkdir(path, mode, options, context) _php_stream_mkdir(path, mode, options, conte… argument
355 PHPAPI int _php_stream_rmdir(const char *path, int options, php_stream_context *context);
356 #define php_stream_rmdir(path, options, context) _php_stream_rmdir(path, options, context) argument
359 #define php_stream_opendir(path, options, context) _php_stream_opendir((path), (options), (context)… argument
570 #define php_stream_open_wrapper(path, mode, options, opened) _php_stream_open_wrapper_ex((path), (m… argument
[all …]
/PHP-7.3/ext/standard/tests/network/
H A Dsetcookie_error.phpt15 setcookie('name3', 'value3', ['path' => '/path/', 'foo' => 'bar']);
17 setcookie('name4', 'value4', [], "path", "domain.tld", true, true);
42 string(37) "Set-Cookie: name3=value3; path=/path/"
/PHP-7.3/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
/PHP-7.3/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);
/PHP-7.3/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

Completed in 75 milliseconds

12345678910>>...35