Searched refs:fullpath (Results 1 - 6 of 6) sorted by relevance

/PHP_5_5/
H A Dserver-tests.php333 $fullpath = $this->urlparts['path']. variable
337 $fullpath = 'http://'.$this->urlparts['host'].':'.$this->urlparts['port'].$fullpath; variable
355 "$method $fullpath HTTP/1.0\r\n".
/PHP_5_5/ext/pdo_sqlite/
H A Dsqlite_driver.c764 char *fullpath = expand_filepath(filename, NULL TSRMLS_CC); local
766 if (!fullpath) {
770 if (php_check_open_basedir(fullpath TSRMLS_CC)) {
771 efree(fullpath);
774 return fullpath;
/PHP_5_5/ext/sqlite3/
H A Dsqlite3.c98 char *filename, *encryption_key, *fullpath; local
121 if (!(fullpath = expand_filepath(filename, NULL TSRMLS_CC))) {
127 if (PG(safe_mode) && (!php_checkuid(fullpath, NULL, CHECKUID_CHECK_FILE_AND_DIR))) {
128 zend_throw_exception_ex(zend_exception_get_default(TSRMLS_C), 0 TSRMLS_CC, "safe_mode prohibits opening %s", fullpath); local
129 efree(fullpath);
134 if (php_check_open_basedir(fullpath TSRMLS_CC)) {
135 zend_throw_exception_ex(zend_exception_get_default(TSRMLS_C), 0 TSRMLS_CC, "open_basedir prohibits opening %s", fullpath); local
136 efree(fullpath);
140 fullpath = estrdup(filename);
144 if (sqlite3_open_v2(fullpath,
339 char fullpath[MAXPATHLEN]; local
[all...]
/PHP_5_5/ext/zip/
H A Dphp_zip.c146 char *fullpath; local
231 len = spprintf(&fullpath, 0, "%s/%s", file_dirname_fullpath, file_basename);
249 if (ZIP_OPENBASEDIR_CHECKPATH(fullpath)) {
250 efree(fullpath);
258 stream = php_stream_open_wrapper(fullpath, "w+b", REPORT_ERRORS|ENFORCE_SAFE_MODE, NULL);
260 stream = php_stream_open_wrapper(fullpath, "w+b", REPORT_ERRORS, NULL);
285 efree(fullpath);
676 char fullpath[MAXPATHLEN]; local
695 snprintf(fullpath, MAXPATHLEN, "%s%c%s", path, DEFAULT_SLASH, namelist[i]);
697 if (0 != VCWD_STAT(fullpath,
[all...]
/PHP_5_5/ext/com_dotnet/
H A Dcom_persist.c372 char *filename, *fullpath = NULL; local
389 fullpath = expand_filepath(filename, NULL TSRMLS_CC);
390 if (!fullpath) {
394 if (php_check_open_basedir(fullpath TSRMLS_CC)) {
395 efree(fullpath);
399 olefilename = php_com_string_to_olestring(filename, strlen(fullpath), helper->codepage TSRMLS_CC);
400 efree(fullpath);
435 char *filename, *fullpath; local
452 if (!(fullpath = expand_filepath(filename, NULL TSRMLS_CC))) {
456 if (php_check_open_basedir(fullpath TSRMLS_C
[all...]
/PHP_5_5/ext/phar/
H A Dphar_object.c4110 char *fullpath; local
4123 len = spprintf(&fullpath, 0, "%s/%s", dest, entry->filename);
4128 fullpath[50] = '\0';
4131 spprintf(error, 4096, "Cannot extract \"%s...\" to \"%s...\", extracted filename is too long for filesystem", tmp, fullpath);
4134 spprintf(error, 4096, "Cannot extract \"%s\" to \"%s...\", extracted filename is too long for filesystem", entry->filename, fullpath);
4136 efree(fullpath);
4142 efree(fullpath);
4146 if (PHAR_OPENBASEDIR_CHECKPATH(fullpath)) {
4147 spprintf(error, 4096, "Cannot extract \"%s\" to \"%s\", openbasedir/safe mode restrictions in effect", entry->filename, fullpath);
4148 efree(fullpath);
[all...]

Completed in 34 milliseconds