Home
last modified time | relevance | path

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

/PHP-7.2/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.phpt27 $fullpath = "mounted_volume" . $pathwithoutdrive;
30 file_put_contents("$fullpath\\mnt\\test\\новая папка\\b.php", "<?php echo \"I am included.\n\" ?>");
32 var_dump(scandir("$fullpath\\mnt\\test\\новая папка"));
33 var_dump(scandir("$fullpath\\mnt\\test\\mklink_symlink"));
34 var_dump(is_readable("$fullpath\\mnt\\test\\mklink_symlink\b.php"));
35 unlink("$fullpath\\mnt\\test\\новая папка\\b.php");
H A Dbug48746_2.phpt29 $fullpath = "mounted_volume" . $pathwithoutdrive;
32 file_put_contents("$fullpath\\mnt\\test\\directory\\b.php", "<?php echo \"I am included.\n\" ?>");
34 print_r(scandir("$fullpath\\mnt\\test\\directory"));
35 print_r(scandir("$fullpath\\mnt\\test\\mklink_junction"));
36 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-7.2/ext/zip/tests/
H A Dbug14962.phpt13 $fullpath = $dir . '/' . $file;
27 if (is_file($fullpath)) {
28 unlink($fullpath);
/PHP-7.2/ext/com_dotnet/
H A Dcom_persist.c376 char *filename, *fullpath = NULL; in CPH_METHOD() local
393 fullpath = expand_filepath(filename, NULL); in CPH_METHOD()
394 if (!fullpath) { in CPH_METHOD()
398 if (php_check_open_basedir(fullpath)) { in CPH_METHOD()
399 efree(fullpath); in CPH_METHOD()
404 efree(fullpath); in CPH_METHOD()
439 char *filename, *fullpath; in CPH_METHOD() local
460 if (php_check_open_basedir(fullpath)) { in CPH_METHOD()
461 efree(fullpath); in CPH_METHOD()
465 olefilename = php_com_string_to_olestring(fullpath, strlen(fullpath), helper->codepage); in CPH_METHOD()
[all …]
/PHP-7.2/ext/phar/
H A Dphar_object.c4198 char *fullpath; in phar_extract_file() local
4258 efree(fullpath); in phar_extract_file()
4265 efree(fullpath); in phar_extract_file()
4272 efree(fullpath); in phar_extract_file()
4280 efree(fullpath); in phar_extract_file()
4322 efree(fullpath); in phar_extract_file()
4330 efree(fullpath); in phar_extract_file()
4349 efree(fullpath); in phar_extract_file()
4356 efree(fullpath); in phar_extract_file()
4366 efree(fullpath); in phar_extract_file()
[all …]
/PHP-7.2/ext/sqlite3/
H A Dsqlite3.c106 char *filename, *encryption_key, *fullpath; in PHP_METHOD() local
129 if (php_check_open_basedir(fullpath)) { in PHP_METHOD()
131 efree(fullpath); in PHP_METHOD()
136 fullpath = filename; in PHP_METHOD()
142 rc = sqlite3_open(fullpath, &(db_obj->db)); in PHP_METHOD()
151 if (fullpath != filename) { in PHP_METHOD()
152 efree(fullpath); in PHP_METHOD()
178 if (fullpath != filename) { in PHP_METHOD()
179 efree(fullpath); in PHP_METHOD()
359 char fullpath[MAXPATHLEN]; in PHP_METHOD() local
[all …]
/PHP-7.2/ext/pdo_sqlite/
H A Dsqlite_driver.c746 char *fullpath = expand_filepath(filename, NULL); in make_filename_safe() local
748 if (!fullpath) { in make_filename_safe()
752 if (php_check_open_basedir(fullpath)) { in make_filename_safe()
753 efree(fullpath); in make_filename_safe()
756 return fullpath; in make_filename_safe()
/PHP-7.2/ext/zip/
H A Dphp_zip.c148 char *fullpath; in php_zip_extract_file() local
220 len = spprintf(&fullpath, 0, "%s/%s", file_dirname_fullpath, ZSTR_VAL(file_basename)); in php_zip_extract_file()
238 if (ZIP_OPENBASEDIR_CHECKPATH(fullpath)) { in php_zip_extract_file()
239 efree(fullpath); in php_zip_extract_file()
252 stream = php_stream_open_wrapper(fullpath, "w+b", REPORT_ERRORS, NULL); in php_zip_extract_file()
270 efree(fullpath); in php_zip_extract_file()
669 char fullpath[MAXPATHLEN]; in php_zip_pcre() local
687 snprintf(fullpath, MAXPATHLEN, "%s%c%s", path, DEFAULT_SLASH, ZSTR_VAL(namelist[i])); in php_zip_pcre()
689 if (0 != VCWD_STAT(fullpath, &s)) { in php_zip_pcre()
690 php_error_docref(NULL, E_WARNING, "Cannot read <%s>", fullpath); in php_zip_pcre()
[all …]
/PHP-7.2/
H A Dserver-tests.php325 $fullpath = $this->urlparts['path'].
329 $fullpath = 'http://'.$this->urlparts['host'].':'.$this->urlparts['port'].$fullpath;

Completed in 49 milliseconds