Home
last modified time | relevance | path

Searched refs:fullpath (Results 1 – 12 of 12) sorted by relevance

/PHP-8.0/ext/standard/tests/file/windows_links/
H A Dbug48746_1.phpt29 $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 Dbug73962.phpt23 $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 Dbug48746_2.phpt25 $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 Dbug48746.phpt29 $fullpath = "mounted_volume" . $pathwithoutdrive;
34 var_dump(file_exists("$fullpath"));
36 var_dump(is_dir("$fullpath"));
38 var_dump(is_writeable("$fullpath"));
/PHP-8.0/ext/zip/tests/
H A Dbug14962.phpt12 $fullpath = $dir . '/' . $file;
26 if (is_file($fullpath)) {
27 unlink($fullpath);
/PHP-8.0/ext/com_dotnet/
H A Dcom_persist.c364 char *filename, *fullpath = NULL; in CPH_METHOD() local
381 if (!fullpath) { in CPH_METHOD()
385 if (php_check_open_basedir(fullpath)) { in CPH_METHOD()
386 efree(fullpath); in CPH_METHOD()
390 olefilename = php_com_string_to_olestring(fullpath, strlen(fullpath), helper->codepage); in CPH_METHOD()
391 efree(fullpath); in CPH_METHOD()
425 char *filename, *fullpath; in CPH_METHOD() local
444 if (php_check_open_basedir(fullpath)) { in CPH_METHOD()
445 efree(fullpath); in CPH_METHOD()
449 olefilename = php_com_string_to_olestring(fullpath, strlen(fullpath), helper->codepage); in CPH_METHOD()
[all …]
/PHP-8.0/ext/standard/
H A Dfilestat.c189 char *path, fullpath[MAXPATHLEN]; in PHP_FUNCTION() local
196 if (!expand_filepath(path, fullpath)) { in PHP_FUNCTION()
200 if (php_check_open_basedir(fullpath)) { in PHP_FUNCTION()
204 if (php_disk_total_space(fullpath, &bytestotal) == SUCCESS) { in PHP_FUNCTION()
286 char *path, fullpath[MAXPATHLEN]; in PHP_FUNCTION() local
293 if (!expand_filepath(path, fullpath)) { in PHP_FUNCTION()
297 if (php_check_open_basedir(fullpath)) { in PHP_FUNCTION()
301 if (php_disk_free_space(fullpath, &bytesfree) == SUCCESS) { in PHP_FUNCTION()
/PHP-8.0/ext/phar/
H A Dphar_object.c4106 char *fullpath; in phar_extract_file() local
4166 efree(fullpath); in phar_extract_file()
4173 efree(fullpath); in phar_extract_file()
4180 efree(fullpath); in phar_extract_file()
4188 efree(fullpath); in phar_extract_file()
4230 efree(fullpath); in phar_extract_file()
4238 efree(fullpath); in phar_extract_file()
4257 efree(fullpath); in phar_extract_file()
4264 efree(fullpath); in phar_extract_file()
4274 efree(fullpath); in phar_extract_file()
[all …]
/PHP-8.0/ext/pdo_sqlite/
H A Dsqlite_driver.c725 char *fullpath = expand_filepath(filename, NULL); in make_filename_safe() local
727 if (!fullpath) { in make_filename_safe()
731 if (php_check_open_basedir(fullpath)) { in make_filename_safe()
732 efree(fullpath); in make_filename_safe()
735 return fullpath; in make_filename_safe()
/PHP-8.0/ext/sqlite3/
H A Dsqlite3.c100 char *filename, *encryption_key, *fullpath; in PHP_METHOD() local
118 if (!(fullpath = expand_filepath(filename, NULL))) { in PHP_METHOD()
123 if (php_check_open_basedir(fullpath)) { in PHP_METHOD()
125 efree(fullpath); in PHP_METHOD()
130 fullpath = filename; in PHP_METHOD()
142 if (fullpath != filename) { in PHP_METHOD()
143 efree(fullpath); in PHP_METHOD()
170 if (fullpath != filename) { in PHP_METHOD()
171 efree(fullpath); in PHP_METHOD()
391 char fullpath[MAXPATHLEN]; in PHP_METHOD() local
[all …]
/PHP-8.0/ext/zip/
H A Dphp_zip.c132 char *fullpath; in php_zip_extract_file() local
206 len = spprintf(&fullpath, 0, "%s/%s", file_dirname_fullpath, ZSTR_VAL(file_basename)); in php_zip_extract_file()
224 if (ZIP_OPENBASEDIR_CHECKPATH(fullpath)) { in php_zip_extract_file()
225 efree(fullpath); in php_zip_extract_file()
238 stream = php_stream_open_wrapper(fullpath, "w+b", REPORT_ERRORS, NULL); in php_zip_extract_file()
263 efree(fullpath); in php_zip_extract_file()
763 char fullpath[MAXPATHLEN]; in php_zip_pcre() local
793 snprintf(fullpath, MAXPATHLEN, "%s%c%s", path, DEFAULT_SLASH, ZSTR_VAL(namelist[i])); in php_zip_pcre()
795 if (0 != VCWD_STAT(fullpath, &s)) { in php_zip_pcre()
796 php_error_docref(NULL, E_WARNING, "Cannot read <%s>", fullpath); in php_zip_pcre()
[all …]
/PHP-8.0/ext/phar/tests/files/
H A Dpear2coverage.phar32 if (!isset($_SESSION['fullpath'])) {
36 $_SESSION['fullpath'] = $_POST['setdatabase'];

Completed in 53 milliseconds