/php-src/ext/standard/tests/file/windows_links/ |
H A D | bug48746_1.phpt | 29 $fullpath = "mounted_volume" . $pathwithoutdrive; 33 file_put_contents("$fullpath\\mnt\\test\\directory\\b.php", "<?php echo \"I am included.\n\" ?>"); 34 require "$fullpath\\mnt\\test\\directory\\b.php"; 35 file_put_contents("$fullpath\\mnt\\test\\mklink_junction\\c.php", "<?php echo \"I am included.\n\" … 36 require_once "$fullpath\\mnt\\test\\mklink_junction\\c.php"; 38 var_dump(is_file("$fullpath\\mnt\\test\\directory\\b.php")); 39 var_dump(is_file("$fullpath\\mnt\\test\\mklink_junction\\c.php")); 40 unlink("$fullpath\\mnt\\test\\directory\\b.php"); 41 unlink("$fullpath\\mnt\\test\\mklink_junction\\c.php");
|
H A D | bug73962.phpt | 23 $fullpath = "mounted_volume" . $pathwithoutdrive; 26 file_put_contents("$fullpath\\mnt\\test\\новая папка\\b.php", "<?php echo \"I am included.\n\" ?>"); 28 var_dump(scandir("$fullpath\\mnt\\test\\новая папка")); 29 var_dump(scandir("$fullpath\\mnt\\test\\mklink_symlink")); 30 var_dump(is_readable("$fullpath\\mnt\\test\\mklink_symlink\b.php")); 31 unlink("$fullpath\\mnt\\test\\новая папка\\b.php");
|
H A D | bug48746_2.phpt | 25 $fullpath = "mounted_volume" . $pathwithoutdrive; 28 file_put_contents("$fullpath\\mnt\\test\\directory\\b.php", "<?php echo \"I am included.\n\" ?>"); 30 print_r(scandir("$fullpath\\mnt\\test\\directory")); 31 print_r(scandir("$fullpath\\mnt\\test\\mklink_junction")); 32 unlink("$fullpath\\mnt\\test\\directory\\b.php");
|
H A D | bug48746.phpt | 29 $fullpath = "mounted_volume" . $pathwithoutdrive; 34 var_dump(file_exists("$fullpath")); 36 var_dump(is_dir("$fullpath")); 38 var_dump(is_writeable("$fullpath"));
|
/php-src/ext/zip/tests/ |
H A D | bug14962.phpt | 10 $fullpath = $dir . '/' . $file; 24 if (is_file($fullpath)) { 25 unlink($fullpath);
|
/php-src/ext/com_dotnet/ |
H A D | com_persist.c | 352 char *filename, *fullpath = NULL; in CPH_METHOD() local 369 if (!fullpath) { in CPH_METHOD() 373 if (php_check_open_basedir(fullpath)) { in CPH_METHOD() 374 efree(fullpath); in CPH_METHOD() 378 olefilename = php_com_string_to_olestring(fullpath, strlen(fullpath), helper->codepage); in CPH_METHOD() 379 efree(fullpath); in CPH_METHOD() 413 char *filename, *fullpath; in CPH_METHOD() local 432 if (php_check_open_basedir(fullpath)) { in CPH_METHOD() 433 efree(fullpath); in CPH_METHOD() 437 olefilename = php_com_string_to_olestring(fullpath, strlen(fullpath), helper->codepage); in CPH_METHOD() [all …]
|
/php-src/ext/dom/lexbor/lexbor/core/ |
H A D | fs.h | 17 typedef lexbor_action_t (*lexbor_fs_dir_file_f)(const lxb_char_t *fullpath,
|
/php-src/ext/phar/ |
H A D | phar_object.c | 4149 char *fullpath; in phar_extract_file() local 4209 efree(fullpath); in phar_extract_file() 4216 efree(fullpath); in phar_extract_file() 4223 efree(fullpath); in phar_extract_file() 4231 efree(fullpath); in phar_extract_file() 4273 efree(fullpath); in phar_extract_file() 4281 efree(fullpath); in phar_extract_file() 4300 efree(fullpath); in phar_extract_file() 4307 efree(fullpath); in phar_extract_file() 4317 efree(fullpath); in phar_extract_file() [all …]
|
/php-src/ext/standard/ |
H A D | filestat.c | 170 char *path, fullpath[MAXPATHLEN]; in PHP_FUNCTION() local 177 if (!expand_filepath(path, fullpath)) { in PHP_FUNCTION() 181 if (php_check_open_basedir(fullpath)) { in PHP_FUNCTION() 185 if (php_disk_total_space(fullpath, &bytestotal) == SUCCESS) { in PHP_FUNCTION() 252 char *path, fullpath[MAXPATHLEN]; in PHP_FUNCTION() local 259 if (!expand_filepath(path, fullpath)) { in PHP_FUNCTION() 263 if (php_check_open_basedir(fullpath)) { in PHP_FUNCTION() 267 if (php_disk_free_space(fullpath, &bytesfree) == SUCCESS) { in PHP_FUNCTION()
|
/php-src/ext/pdo_sqlite/ |
H A D | pdo_sqlite.c | 74 char fullpath[MAXPATHLEN]; in PHP_METHOD() local 104 if (!VCWD_REALPATH(extension, fullpath)) { in PHP_METHOD() 115 if (sqlite3_load_extension(sqlite_handle, fullpath, 0, &errtext) != SQLITE_OK) { in PHP_METHOD()
|
H A D | sqlite_driver.c | 759 char *fullpath = expand_filepath(filename, NULL); in make_filename_safe() local 761 if (!fullpath) { in make_filename_safe() 765 if (php_check_open_basedir(fullpath)) { in make_filename_safe() 766 efree(fullpath); in make_filename_safe() 769 return fullpath; in make_filename_safe()
|
/php-src/ext/sqlite3/ |
H A D | sqlite3.c | 106 char *filename, *encryption_key, *fullpath; in PHP_METHOD() local 124 if (!(fullpath = expand_filepath(filename, NULL))) { in PHP_METHOD() 129 if (php_check_open_basedir(fullpath)) { in PHP_METHOD() 131 efree(fullpath); in PHP_METHOD() 136 fullpath = filename; in PHP_METHOD() 148 if (fullpath != filename) { in PHP_METHOD() 149 efree(fullpath); in PHP_METHOD() 175 if (fullpath != filename) { in PHP_METHOD() 176 efree(fullpath); in PHP_METHOD() 399 char fullpath[MAXPATHLEN]; in PHP_METHOD() local [all …]
|
/php-src/ext/zip/ |
H A D | php_zip.c | 132 char *fullpath; in php_zip_extract_file() local 212 len = spprintf(&fullpath, 0, "%s/%s", file_dirname_fullpath, ZSTR_VAL(file_basename)); in php_zip_extract_file() 230 if (ZIP_OPENBASEDIR_CHECKPATH(fullpath)) { in php_zip_extract_file() 231 efree(fullpath); in php_zip_extract_file() 244 stream = php_stream_open_wrapper(fullpath, "w+b", REPORT_ERRORS, NULL); in php_zip_extract_file() 269 efree(fullpath); in php_zip_extract_file() 772 char fullpath[MAXPATHLEN]; in php_zip_pcre() local 802 snprintf(fullpath, MAXPATHLEN, "%s%c%s", path, DEFAULT_SLASH, ZSTR_VAL(namelist[i])); in php_zip_pcre() 804 if (0 != VCWD_STAT(fullpath, &s)) { in php_zip_pcre() 805 php_error_docref(NULL, E_WARNING, "Cannot read <%s>", fullpath); in php_zip_pcre() [all …]
|
/php-src/ext/phar/tests/files/ |
H A D | pear2coverage.phar | 32 if (!isset($_SESSION['fullpath'])) { 36 $_SESSION['fullpath'] = $_POST['setdatabase'];
|