Home
last modified time | relevance | path

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

1...<<11121314151617181920>>...34

/PHP-7.1/ext/standard/tests/dir/
H A Ddir_variation9.phpt19 * have valid and invalid relative path.
50 // open the directory with invalid path
80 ["path"]=>
86 ["path"]=>
92 ["path"]=>
98 ["path"]=>
/PHP-7.1/ext/standard/tests/file/windows_links/
H A Dcommon.inc13 // install somewhere that is on %path% or added to %path%
/PHP-7.1/ext/phar/tests/
H A Dphar_createdefaultstub.phpt216 if ($path[strlen($path) - 1] == '/') {
217 @mkdir($temp . '/' . $path, 0777);
219 file_put_contents($temp . '/' . $path, self::extractFile($path, $file, $fp));
220 @chmod($temp . '/' . $path, 0666);
510 if ($path[strlen($path) - 1] == '/') {
511 @mkdir($temp . '/' . $path, 0777);
513 file_put_contents($temp . '/' . $path, self::extractFile($path, $file, $fp));
514 @chmod($temp . '/' . $path, 0666);
812 if ($path[strlen($path) - 1] == '/') {
813 @mkdir($temp . '/' . $path, 0777);
[all …]
H A Dphar_setdefaultstub.phpt236 if ($path[strlen($path) - 1] == '/') {
237 @mkdir($temp . '/' . $path, 0777);
239 file_put_contents($temp . '/' . $path, self::extractFile($path, $file, $fp));
240 @chmod($temp . '/' . $path, 0666);
531 if ($path[strlen($path) - 1] == '/') {
532 @mkdir($temp . '/' . $path, 0777);
534 file_put_contents($temp . '/' . $path, self::extractFile($path, $file, $fp));
535 @chmod($temp . '/' . $path, 0666);
826 if ($path[strlen($path) - 1] == '/') {
827 @mkdir($temp . '/' . $path, 0777);
[all …]
/PHP-7.1/ext/enchant/tests/
H A Denchant_broker_set_dict_path.phpt36 echo("broker get dict path has failed \n");
40 echo("broker set dict path {$backEndDictType2} has failed \n");
43 echo("broker set dict path {$backEndDictType1} has failed \n");
/PHP-7.1/ext/standard/tests/streams/
H A Dopendir-002.phpt13 $path="ftp://localhost:" . $port."/";
15 $ds=opendir($path);
H A Dopendir-001.phpt13 $path="ftp://localhost:" . $port."/bogusdir";
15 var_dump(opendir($path));
/PHP-7.1/sapi/fpm/fpm/
H A Dfpm_php.c230 int fpm_php_limit_extensions(char *path) /* {{{ */ in fpm_php_limit_extensions() argument
235 if (!path || !limit_extensions) { in fpm_php_limit_extensions()
240 path_len = strlen(path); in fpm_php_limit_extensions()
244 char *path_ext = path + path_len - ext_len; in fpm_php_limit_extensions()
253 …og(ZLOG_NOTICE, "Access to the script '%s' has been denied (see security.limit_extensions)", path); in fpm_php_limit_extensions()
H A Dfpm_main.c210 #define TRANSLATE_SLASHES(path) \ argument
212 char *tmp = path; \
219 #define TRANSLATE_SLASHES(path) argument
702 path = real_path;
708 s2 = path;
711 s1 = path;
776 path = emalloc(path_len + 2);
784 path[path_len] = 0;
810 efree(path);
929 if (!path) {
[all …]
/PHP-7.1/ext/dba/
H A Ddba_tcadb.c48 spprintf(&path_string, 0, "%s#mode=r", info->path); in DBA_OPEN_FUNC()
51 spprintf(&path_string, 0, "%s#mode=w", info->path); in DBA_OPEN_FUNC()
54 spprintf(&path_string, 0, "%s#mode=wc", info->path); in DBA_OPEN_FUNC()
57 spprintf(&path_string, 0, "%s#mode=wct", info->path); in DBA_OPEN_FUNC()
/PHP-7.1/scripts/
H A Dphpize.in88 Invalid source path '$phpdir'. Whitespace is not allowed in source path.
97 Invalid build path '$builddir'. Whitespace is not allowed in build path.
/PHP-7.1/ext/standard/
H A Dhttp_fopen_wrapper.c154 resource = php_url_parse(path); in php_stream_url_wrap_http_ex()
390 smart_str_appends(&req_buf, path); in php_stream_url_wrap_http_ex()
395 if (resource->path && *resource->path) { in php_stream_url_wrap_http_ex()
396 smart_str_appends(&req_buf, resource->path); in php_stream_url_wrap_http_ex()
533 size_t scratch_len = strlen(path) + 1; in php_stream_url_wrap_http_ex()
879 if (*(location+1) != '\0' && resource->path) { in php_stream_url_wrap_http_ex()
880 char *s = strrchr(resource->path, '/'); in php_stream_url_wrap_http_ex()
882 s = resource->path; in php_stream_url_wrap_http_ex()
885 s = resource->path = estrdup("/"); in php_stream_url_wrap_http_ex()
891 if (resource->path && *(resource->path) == '/' && *(resource->path + 1) == '\0') { in php_stream_url_wrap_http_ex()
[all …]
H A Dfilestat.c116 PHP_WIN32_IOUTIL_INIT_W(path) in php_disk_total_space()
136 char drive = path[0] & 95;
156 if (statvfs(path, &buf)) {
167 if (statfs(path, &buf)) {
186 char *path; in PHP_FUNCTION() local
193 if (php_check_open_basedir(path)) { in PHP_FUNCTION()
210 PHP_WIN32_IOUTIL_INIT_W(path) in php_disk_free_space()
230 char drive = path[0] & 95;
250 if (statvfs(path, &buf)) {
260 if (statfs(path, &buf)) {
[all …]
/PHP-7.1/main/
H A Dwin95nt.h45 #define chdir(path) _chdir(path) argument
/PHP-7.1/ext/standard/tests/strings/
H A Dbasename_invalid_path.phpt10 /* Prototype: string basename ( string $path [, string $suffix] );
11 Description: Given a string containing a path to a file,
H A Dbasename_invalid_path_win.phpt10 /* Prototype: string basename ( string $path [, string $suffix] );
11 Description: Given a string containing a path to a file,
H A Ddirname_multi.phpt10 /* Prototype: string dirname ( string $path [, int nb]);
11 Description: Returns directory name component of path.
/PHP-7.1/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-7.1/ext/standard/tests/file/windows_mb_path/
H A Dtest_cp932_1.phpt26 $path = $prefix . DIRECTORY_SEPARATOR . "${item}42";
28 $subpath = $path . DIRECTORY_SEPARATOR . "${item}4";
31 var_dump(file_exists($path));
H A Dbug64699.phpt34 $path = $dir . $file;
35 $type = filetype($path);
36 $type2= is_dir($path) ? 'dir' : 'file';
/PHP-7.1/ext/standard/tests/file/
H A Dpathinfo_variaton.phpt5 /* Prototype: mixed pathinfo ( string $path [, int $options] );
6 Description: Returns information about a file path
80 /* loop through $paths to test each $path in the above array */
81 foreach($paths as $path) {
83 var_dump( pathinfo($path) );
84 var_dump( pathinfo($path, PATHINFO_DIRNAME) );
85 var_dump( pathinfo($path, PATHINFO_BASENAME) );
86 var_dump( pathinfo($path, PATHINFO_EXTENSION) );
87 var_dump( pathinfo($path, PATHINFO_FILENAME) );
H A Dreadlink_realpath_basic2.phpt2 Test readlink() and realpath functions: basic functionality - diff. path notation for files
11 /* Prototype: string readlink ( string $path );
14 Prototype: string realpath ( string $path );
37 /* filenames with invalid path */
/PHP-7.1/ext/session/tests/
H A Dsession_save_path_basic.phpt15 * Prototype : string session_save_path([string $path])
16 * Description : Get and/or set the current session save path
H A Dsession_set_save_handler_variation2.phpt19 $path = dirname(__FILE__);
20 session_save_path($path);
/PHP-7.1/ext/mbstring/ucgendat/
H A Ducgendat.c1303 char path[BUFSIZ]; in write_cdata() local
1316 snprintf(path, sizeof path, "%s" LDAP_DIRSEP "uctable.h", opath); in write_cdata()
1317 if ((out = fopen(path, "w")) == 0) in write_cdata()
1323 snprintf(path, sizeof path, "%s" LDAP_DIRSEP "ctype.dat", opath); in write_cdata()
1324 if ((out = fopen(path, "wb")) == 0) in write_cdata()
1474 snprintf(path, sizeof path, "%s" LDAP_DIRSEP "case.dat", opath); in write_cdata()
1553 snprintf(path, sizeof path, "%s" LDAP_DIRSEP "comp.dat", opath); in write_cdata()
1629 snprintf(path, sizeof path, "%s" LDAP_DIRSEP "decomp.dat", opath); in write_cdata()
1722 snprintf(path, sizeof path, "%s" LDAP_DIRSEP "kdecomp.dat", opath); in write_cdata()
1802 snprintf(path, sizeof path, "%s" LDAP_DIRSEP "cmbcl.dat", opath); in write_cdata()
[all …]

Completed in 70 milliseconds

1...<<11121314151617181920>>...34