Home
last modified time | relevance | path

Searched refs:path (Results 176 – 200 of 655) sorted by relevance

12345678910>>...27

/PHP-5.4/ext/standard/tests/streams/
H A Dstream_get_meta_data_file_variation4.phpt2 stream_get_meta_data() with a relative file path
14 echo "\nChange to file's directory and open with a relative path:\n";
51 Change to file's directory and open with a relative path:
/PHP-5.4/tests/run-test/
H A Dtest007.phpt10 function check_dirname($path) {
12 $path1 = str_replace("%",$s,$path);
15 print "dirname($path) == $path3\n";
/PHP-5.4/main/streams/
H A Dstreams.c175 char *tmp = estrdup(path); in php_stream_display_wrapper_errors()
1782 protocol = path;
1823 if (localhost == 0 && path[n+3] != '\0' && path[n+3] != '/' && path[n+4] != ':') {
1825 if (localhost == 0 && path[n+3] != '\0' && path[n+3] != '/') {
1929 char *path_to_open = path;
1982 if (!path || !*path) {
1986 path_to_open = path;
2038 if (!path || !*path) {
2044 resolved_path = zend_resolve_path(path, strlen(path) TSRMLS_CC);
2046 path = resolved_path;
[all …]
/PHP-5.4/ext/standard/
H A Dhttp_fopen_wrapper.c149 resource = php_url_parse(path); in php_stream_url_wrap_http_ex()
370 scratch_len = strlen(path) + 29 + protocol_version_len; in php_stream_url_wrap_http_ex()
389 strcat(scratch, path); in php_stream_url_wrap_http_ex()
394 if (resource->path && *resource->path) { in php_stream_url_wrap_http_ex()
395 strlcat(scratch, resource->path, scratch_len); in php_stream_url_wrap_http_ex()
816 if (*(location+1) != '\0' && resource->path) { in php_stream_url_wrap_http_ex()
817 char *s = strrchr(resource->path, '/'); in php_stream_url_wrap_http_ex()
819 s = resource->path; in php_stream_url_wrap_http_ex()
822 s = resource->path = estrdup("/"); in php_stream_url_wrap_http_ex()
828 if (resource->path && *(resource->path) == '/' && *(resource->path + 1) == '\0') { in php_stream_url_wrap_http_ex()
[all …]
/PHP-5.4/ext/phar/phar/
H A Ddirectorygraphiterator.inc19 function __construct($path)
24 new RecursiveDirectoryIterator($path, RecursiveDirectoryIterator::KEY_AS_FILENAME
/PHP-5.4/ext/spl/examples/
H A Ddirectorygraphiterator.inc19 function __construct($path)
24 new RecursiveDirectoryIterator($path, RecursiveDirectoryIterator::KEY_AS_FILENAME
/PHP-5.4/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-5.4/ext/standard/tests/strings/
H A Ddirname_basic.phpt5 /* Prototype: string dirname ( string $path );
6 Description: Returns directory name component of path.
20 /* path with only files and trailing slashes*/
31 /* path with file extension and trailing slashes */
/PHP-5.4/ext/dba/
H A Ddba_qdbm.c46 dbf = dpopen(info->path, DP_OREADER, 0); in DBA_OPEN_FUNC()
49 dbf = dpopen(info->path, DP_OWRITER, 0); in DBA_OPEN_FUNC()
52 dbf = dpopen(info->path, DP_OWRITER | DP_OCREAT, 0); in DBA_OPEN_FUNC()
55 dbf = dpopen(info->path, DP_OWRITER | DP_OCREAT | DP_OTRUNC, 0); in DBA_OPEN_FUNC()
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-5.4/ext/standard/tests/file/
H A Ddirname_basic-win32.phpt12 /* Prototype : string dirname(string path)
13 * Description: Returns the directory name component of the path
55 foreach ($paths as $path) {
56 var_dump( dirname($path) );
H A Dfile_get_contents_variation1.phpt2 Test file_get_contents() function : variation - include path testing
39 fwrite($h, "File in include path");
50 File in include path
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) );
/PHP-5.4/ext/session/tests/
H A Dsession_save_path_variation5.phpt18 * Prototype : string session_save_path([string $path])
19 * Description : Get and/or set the current session save path
52 Warning: ini_set(): open_basedir restriction in effect. File(%s) is not within the allowed path(s):…
/PHP-5.4/ext/standard/tests/general_functions/
H A Dinclude_path.phpt23 var_dump(set_include_path(".:/path/to/dir"));
62 string(14) ".:/path/to/dir"
70 Warning: set_include_path() expects parameter 1 to be a valid path, array given in %s on line %d
/PHP-5.4/ext/zlib/tests/
H A Dcompress_zlib_wrapper.phpt11 // Relative path
15 // Absolute path
/PHP-5.4/ext/phar/tests/
H A Dbug46178.phpt13 $phar['long/path/name.txt'] = 'hi';
14 $phar->addEmptyDir('long/path');
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-5.4/ext/standard/tests/file/windows_links/
H A Dcommon.inc13 // install somewhere that is on %path% or added to %path%
/PHP-5.4/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-5.4/ext/phar/
H A Dutil.c181 if (phar_path_check(&path, &path_len, &err) > pcr_is_ok) { in phar_mount_entry()
193 entry.filename = estrndup(path, path_len); in phar_mount_entry()
260 char *path, *fname, *arch, *entry, *ret, *test; in phar_find_in_include_path() local
326 efree(path); in phar_find_in_include_path()
350 char *ptr, *end, *path = PG(include_path); in phar_find_in_include_path()
406 if (*filename == '.' || IS_ABSOLUTE_PATH(filename, filename_len) || !path || !*path) { in phar_find_in_include_path()
422 ptr = (char *) path; in phar_find_in_include_path()
745 phar_unixify_path_separators(path, path_len); in phar_get_or_create_entry_data()
804 phar_add_virtual_dirs(phar, path, path_len TSRMLS_CC); in phar_get_or_create_entry_data()
809 etemp.filename = estrndup(path, path_len); in phar_get_or_create_entry_data()
[all …]
/PHP-5.4/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-5.4/sapi/fpm/fpm/
H A Dfpm_main.c206 #define TRANSLATE_SLASHES(path) \ argument
208 char *tmp = path; \
215 #define TRANSLATE_SLASHES(path) argument
723 path = real_path;
729 s2 = path;
732 s1 = path;
796 path = emalloc(path_len + 2);
804 path[path_len] = 0;
830 efree(path);
955 if (!path) {
[all …]
/PHP-5.4/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 86 milliseconds

12345678910>>...27