Home
last modified time | relevance | path

Searched refs:path (Results 251 – 275 of 853) sorted by relevance

1...<<11121314151617181920>>...35

/php-src/ext/phar/tests/
H A Dphar_setdefaultstub.phpt235 if ($path[strlen($path) - 1] == '/') {
236 @mkdir($temp . '/' . $path, 0777);
238 file_put_contents($temp . '/' . $path, self::extractFile($path, $file, $fp));
239 @chmod($temp . '/' . $path, 0666);
530 if ($path[strlen($path) - 1] == '/') {
531 @mkdir($temp . '/' . $path, 0777);
533 file_put_contents($temp . '/' . $path, self::extractFile($path, $file, $fp));
534 @chmod($temp . '/' . $path, 0666);
825 if ($path[strlen($path) - 1] == '/') {
826 @mkdir($temp . '/' . $path, 0777);
[all …]
/php-src/ext/standard/tests/file/
H A Dpathinfo_basic2.phpt34 /* loop through $paths to test each $path in the above array */
35 foreach($paths as $path) {
37 var_dump( pathinfo($path, PATHINFO_DIRNAME) );
38 var_dump( pathinfo($path, PATHINFO_BASENAME) );
39 var_dump( pathinfo($path, PATHINFO_EXTENSION) );
40 var_dump( pathinfo($path, PATHINFO_FILENAME) );
41 var_dump( pathinfo($path) );
/php-src/sapi/fpm/fpm/
H A Dfpm_php.c246 int fpm_php_limit_extensions(char *path) /* {{{ */ in fpm_php_limit_extensions() argument
251 if (!path || !limit_extensions) { in fpm_php_limit_extensions()
256 path_len = strlen(path); in fpm_php_limit_extensions()
260 char *path_ext = path + path_len - ext_len; in fpm_php_limit_extensions()
269 …og(ZLOG_NOTICE, "Access to the script '%s' has been denied (see security.limit_extensions)", path); in fpm_php_limit_extensions()
/php-src/ext/session/tests/user_session_module/
H A Dsession_set_save_handler_basic.phpt23 $path = __DIR__ . '/session_set_save_handler_basic';
24 @mkdir($path);
25 session_save_path($path);
62 $path = __DIR__ . '/session_set_save_handler_basic';
63 rmdir($path);
H A Dsession_set_save_handler_variation6.phpt20 $path = __DIR__ . '/session_set_save_handler_variation6';
21 @mkdir($path);
22 session_save_path($path);
60 $path = __DIR__ . '/session_set_save_handler_variation6';
61 rmdir($path);
/php-src/ext/standard/tests/streams/
H A Dopendir-001.phpt13 $path="ftp://localhost:" . $port."/bogusdir";
15 var_dump(opendir($path));
H A Dbug72771.phpt15 $path="ftps://127.0.0.1:" . $port."/";
17 $ds=opendir($path, $context);
H A Dbug77680.phpt14 $path = "ftp://localhost:" . $port."/one/two/three/";
15 mkdir($path, 0755, true);
H A Dopendir-004.phpt16 $path="ftps://127.0.0.1:" . $port."/";
20 $ds=opendir($path, $context);
H A Dbug73457.phpt16 $path="ftp://127.0.0.1:" . $port."/bug73457";
18 $ds=file_get_contents($path);
/php-src/ext/libxml/tests/
H A Dlibxml_set_streams_context_overwrite.phpt11 function stream_open($path, $mode, $options, &$opened_path)
17 function url_stat($path, $flags)
H A Dbug54440.phpt10 function stream_open($path, $mode, $options, &$opened_path)
17 function url_stat($path, $flags)
/php-src/scripts/
H A Dphpize.in92 Invalid source path '$phpdir'. Whitespace is not allowed in source path.
101 Invalid build path '$builddir'. Whitespace is not allowed in build path.
/php-src/tests/security/
H A Dopen_basedir_error_log.phpt34 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
37 …ir restriction in effect. File(%s/test/bad.txt) is not within the allowed path(s): (.) in %s on li…
40 …basedir restriction in effect. File(%s/bad.txt) is not within the allowed path(s): (.) in %s on li…
/php-src/ext/session/tests/
H A Dsession_save_path_variation4.phpt51 Warning: ini_set(): open_basedir restriction in effect. File(%s) is not within the allowed path(s):…
54 …): open_basedir restriction in effect. File(%s) is not within the allowed path(s): (.) in %s on li…
56 Warning: session_start(): Failed to initialize storage module: files (path: ) in %s on line %d
/php-src/ext/standard/tests/dir/
H A Dopendir_basic-win32-mb.phpt12 * Test basic functionality of opendir() with absolute and relative paths as $path argument
30 echo "\n-- Testing opendir() with absolute path: --\n";
54 -- Testing opendir() with absolute path: --
/php-src/ext/standard/tests/file/windows_mb_path/
H A Dbug64699.phpt34 $path = $dir . $file;
35 $type = filetype($path);
36 $type2= is_dir($path) ? 'dir' : 'file';
H A Dtest_cp932_1.phpt28 $path = $prefix . DIRECTORY_SEPARATOR . "{$item}42";
30 $subpath = $path . DIRECTORY_SEPARATOR . "{$item}4";
33 var_dump(file_exists($path));
/php-src/ext/mysqli/tests/
H A Dmysqli_ssl_set.phpt23 'The path name to the key file.',
24 'The path name to the certificate file.',
25 'The path name to the certificate authority file.',
/php-src/sapi/cli/tests/
H A Dbug73630a.phpt20 $path = "/" . str_repeat("x", 16400) . "//example.com";
21 var_dump(file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS . "$path"));
/php-src/ext/standard/tests/general_functions/
H A Dinclude_path.phpt17 var_dump(set_include_path(".:/path/to/dir"));
42 string(14) ".:/path/to/dir"
H A Ddl-full-path-not-supported.phpt2 dl() fails when trying to load full path to module
18 var_dump(dl('/path/to/module'));
/php-src/ext/openssl/tests/
H A Dgh9310.phpt160 PHP Warning: stream_socket_accept(): Unable to get real path of certificate file `%scert.crt' in %s
164 PHP Warning: stream_socket_accept(): Unable to get real path of private key file `%sprivate.key' i…
167 …sedir restriction in effect. File(%sgh9310.crt) is not within the allowed path(s): (%sgh9310) in %s
168 PHP Warning: stream_socket_accept(): Unable to get real path of certificate file `%sgh9310.crt' in…
171 …sedir restriction in effect. File(%sgh9310.key) is not within the allowed path(s): (%sgh9310) in %s
172 PHP Warning: stream_socket_accept(): Unable to get real path of private key file `%sgh9310.key' in…
175 …estriction in effect. File(%ssni_server_cs.pem) is not within the allowed path(s): (%sgh9310) in %s
179 …iction in effect. File(%ssni_server_uk_key.pem) is not within the allowed path(s): (%sgh9310) in %s
183 …ction in effect. File(%ssni_server_us_cert.pem) is not within the allowed path(s): (%sgh9310) in %s
/php-src/ext/fileinfo/tests/
H A Dfinfo_open_004.phpt20 Warning: finfo_open(): File name is longer than the maximum allowed path length on this platform (%…
22 TEST:finfo::__construct(): File name is longer than the maximum allowed path length on this platfor…
/php-src/ext/dba/
H A Ddba_qdbm.c40 dbf = dpopen(ZSTR_VAL(info->path), DP_OREADER, 0); in DBA_OPEN_FUNC()
43 dbf = dpopen(ZSTR_VAL(info->path), DP_OWRITER, 0); in DBA_OPEN_FUNC()
46 dbf = dpopen(ZSTR_VAL(info->path), DP_OWRITER | DP_OCREAT, 0); in DBA_OPEN_FUNC()
49 dbf = dpopen(ZSTR_VAL(info->path), DP_OWRITER | DP_OCREAT | DP_OTRUNC, 0); in DBA_OPEN_FUNC()

Completed in 33 milliseconds

1...<<11121314151617181920>>...35