Home
last modified time | relevance | path

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

/PHP-5.3/ext/com_dotnet/
H A Dcom_persist.c375 char *filename, *fullpath = NULL; in CPH_METHOD() local
395 fullpath = expand_filepath(filename, NULL TSRMLS_CC); in CPH_METHOD()
396 if (!fullpath) { in CPH_METHOD()
401 php_check_open_basedir(fullpath TSRMLS_CC)) { in CPH_METHOD()
402 efree(fullpath); in CPH_METHOD()
407 efree(fullpath); in CPH_METHOD()
442 char *filename, *fullpath; in CPH_METHOD() local
468 php_check_open_basedir(fullpath TSRMLS_CC)) { in CPH_METHOD()
469 efree(fullpath); in CPH_METHOD()
473 olefilename = php_com_string_to_olestring(fullpath, strlen(fullpath), helper->codepage TSRMLS_CC); in CPH_METHOD()
[all …]
/PHP-5.3/ext/pdo_sqlite/
H A Dsqlite_driver.c764 char *fullpath = expand_filepath(filename, NULL TSRMLS_CC); in make_filename_safe() local
766 if (!fullpath) { in make_filename_safe()
770 if (PG(safe_mode) && (!php_checkuid(fullpath, NULL, CHECKUID_CHECK_FILE_AND_DIR))) { in make_filename_safe()
771 efree(fullpath); in make_filename_safe()
775 if (php_check_open_basedir(fullpath TSRMLS_CC)) { in make_filename_safe()
776 efree(fullpath); in make_filename_safe()
779 return fullpath; in make_filename_safe()
/PHP-5.3/ext/phar/
H A Dphar_object.c4215 efree(fullpath);
4221 efree(fullpath);
4227 efree(fullpath);
4234 efree(fullpath);
4271 efree(fullpath);
4283 efree(fullpath);
4294 efree(fullpath);
4302 efree(fullpath);
4309 efree(fullpath);
4319 efree(fullpath);
[all …]
/PHP-5.3/ext/sqlite/
H A Dpdo_sqlite2.c519 char *fullpath = expand_filepath(filename, NULL TSRMLS_CC); in make_filename_safe() local
521 if (!fullpath) { in make_filename_safe()
525 if (PG(safe_mode) && (!php_checkuid(fullpath, NULL, CHECKUID_CHECK_FILE_AND_DIR))) { in make_filename_safe()
526 efree(fullpath); in make_filename_safe()
530 if (php_check_open_basedir(fullpath TSRMLS_CC)) { in make_filename_safe()
531 efree(fullpath); in make_filename_safe()
534 return fullpath; in make_filename_safe()
H A Dsqlite.c1548 char *filename, *fullpath, *hashkey; in PHP_FUNCTION() local
1574 efree(fullpath); in PHP_FUNCTION()
1616 efree(fullpath); in PHP_FUNCTION()
1626 char *filename, *fullpath = NULL; in PHP_FUNCTION() local
1661 efree(fullpath); in PHP_FUNCTION()
1673 if (fullpath) { in PHP_FUNCTION()
1674 efree(fullpath); in PHP_FUNCTION()
1685 char *filename, *fullpath = NULL; in PHP_FUNCTION() local
1715 efree(fullpath); in PHP_FUNCTION()
1722 if (fullpath) { in PHP_FUNCTION()
[all …]
/PHP-5.3/ext/sqlite3/
H A Dsqlite3.c98 char *filename, *encryption_key, *fullpath; local
129 efree(fullpath);
134 if (php_check_open_basedir(fullpath TSRMLS_CC)) {
136 efree(fullpath);
140 fullpath = estrdup(filename);
149 if (fullpath) {
150 efree(fullpath);
174 if (fullpath) {
175 efree(fullpath);
339 char fullpath[MAXPATHLEN]; local
[all …]
/PHP-5.3/ext/standard/tests/file/windows_links/
H A Dbug48746.phpt31 $fullpath = "mounted_volume" . $pathwithoutdrive;
36 var_dump(file_exists("$fullpath"));
38 var_dump(is_dir("$fullpath"));
40 var_dump(is_writeable("$fullpath"));
H A Dbug48746_1.phpt31 $fullpath = "mounted_volume" . $pathwithoutdrive;
35 file_put_contents("$fullpath\\mnt\\test\\directory\\b.php", "<?php echo \"I am included.\n\" ?>");
36 require "$fullpath\\mnt\\test\\directory\\b.php";
37 file_put_contents("$fullpath\\mnt\\test\\mklink_junction\\c.php", "<?php echo \"I am included.\n\" …
38 require_once "$fullpath\\mnt\\test\\mklink_junction\\c.php";
40 var_dump(is_file("$fullpath\\mnt\\test\\directory\\b.php"));
41 var_dump(is_file("$fullpath\\mnt\\test\\mklink_junction\\c.php"));
42 unlink("$fullpath\\mnt\\test\\directory\\b.php");
43 unlink("$fullpath\\mnt\\test\\mklink_junction\\c.php");
H A Dbug48746_2.phpt31 $fullpath = "mounted_volume" . $pathwithoutdrive;
34 file_put_contents("$fullpath\\mnt\\test\\directory\\b.php", "<?php echo \"I am included.\n\" ?>");
36 print_r(scandir("$fullpath\\mnt\\test\\directory"));
37 print_r(scandir("$fullpath\\mnt\\test\\mklink_junction"));
38 unlink("$fullpath\\mnt\\test\\directory\\b.php");
/PHP-5.3/ext/zip/
H A Dphp_zip.c146 char *fullpath; in php_zip_extract_file() local
231 len = spprintf(&fullpath, 0, "%s/%s", file_dirname_fullpath, file_basename); in php_zip_extract_file()
250 if (ZIP_OPENBASEDIR_CHECKPATH(fullpath)) { in php_zip_extract_file()
251 efree(fullpath); in php_zip_extract_file()
261 stream = php_stream_open_wrapper(fullpath, "w+b", REPORT_ERRORS, NULL); in php_zip_extract_file()
279 efree(fullpath); in php_zip_extract_file()
294 efree(fullpath); in php_zip_extract_file()
685 char fullpath[MAXPATHLEN]; in php_zip_pcre() local
704 snprintf(fullpath, MAXPATHLEN, "%s%c%s", path, DEFAULT_SLASH, namelist[i]); in php_zip_pcre()
706 if (0 != VCWD_STAT(fullpath, &s)) { in php_zip_pcre()
[all …]
/PHP-5.3/ext/zip/tests/
H A Dbug14962.phpt13 $fullpath = $dir . '/' . $file;
27 if (is_file($fullpath)) {
28 unlink($fullpath);
/PHP-5.3/
H A Dserver-tests.php333 $fullpath = $this->urlparts['path'].
337 $fullpath = 'http://'.$this->urlparts['host'].':'.$this->urlparts['port'].$fullpath;

Completed in 91 milliseconds