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

/PHP_TRUNK/ext/phar/
H A Dphar_object.c4053 char *fullpath; local
4066 len = spprintf(&fullpath, 0, "%s/%s", dest, entry->filename);
4071 fullpath[50] = '\0';
4074 spprintf(error, 4096, "Cannot extract \"%s...\" to \"%s...\", extracted filename is too long for filesystem", tmp, fullpath);
4077 spprintf(error, 4096, "Cannot extract \"%s\" to \"%s...\", extracted filename is too long for filesystem", entry->filename, fullpath);
4079 efree(fullpath);
4085 efree(fullpath);
4089 if (PHAR_OPENBASEDIR_CHECKPATH(fullpath)) {
4090 spprintf(error, 4096, "Cannot extract \"%s\" to \"%s\", openbasedir/safe mode restrictions in effect", entry->filename, fullpath);
4091 efree(fullpath);
[all...]
/PHP_TRUNK/ext/pdo_sqlite/
H A Dsqlite_driver.c745 char *fullpath = expand_filepath(filename, NULL TSRMLS_CC); local
747 if (!fullpath) {
751 if (php_check_open_basedir(fullpath TSRMLS_CC)) {
752 efree(fullpath);
755 return fullpath;
/PHP_TRUNK/ext/sqlite3/
H A Dsqlite3.c104 char *filename, *encryption_key, *fullpath; local
127 if (!(fullpath = expand_filepath(filename, NULL TSRMLS_CC))) {
133 if (PG(safe_mode) && (!php_checkuid(fullpath, NULL, CHECKUID_CHECK_FILE_AND_DIR))) {
134 zend_throw_exception_ex(zend_exception_get_default(TSRMLS_C), 0 TSRMLS_CC, "safe_mode prohibits opening %s", fullpath); local
135 efree(fullpath);
140 if (php_check_open_basedir(fullpath TSRMLS_CC)) {
141 zend_throw_exception_ex(zend_exception_get_default(TSRMLS_C), 0 TSRMLS_CC, "open_basedir prohibits opening %s", fullpath); local
142 efree(fullpath);
146 fullpath = estrdup(filename);
150 if (sqlite3_open_v2(fullpath,
347 char fullpath[MAXPATHLEN]; local
[all...]
/PHP_TRUNK/ext/zip/
H A Dphp_zip.c144 char *fullpath; local
216 len = spprintf(&fullpath, 0, "%s/%s", file_dirname_fullpath, file_basename->val);
234 if (ZIP_OPENBASEDIR_CHECKPATH(fullpath)) {
235 efree(fullpath);
242 stream = php_stream_open_wrapper(fullpath, "w+b", REPORT_ERRORS, NULL);
266 efree(fullpath);
641 char fullpath[MAXPATHLEN]; local
659 snprintf(fullpath, MAXPATHLEN, "%s%c%s", path, DEFAULT_SLASH, namelist[i]->val);
661 if (0 != VCWD_STAT(fullpath, &s)) {
662 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Cannot read <%s>", fullpath);
[all...]
/PHP_TRUNK/
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_TRUNK/ext/com_dotnet/
H A Dcom_persist.c377 char *filename, *fullpath = NULL; local
394 fullpath = expand_filepath(filename, NULL TSRMLS_CC);
395 if (!fullpath) {
399 if (php_check_open_basedir(fullpath TSRMLS_CC)) {
400 efree(fullpath);
404 olefilename = php_com_string_to_olestring(filename, strlen(fullpath), helper->codepage TSRMLS_CC);
405 efree(fullpath);
440 char *filename, *fullpath; local
457 if (!(fullpath = expand_filepath(filename, NULL TSRMLS_CC))) {
461 if (php_check_open_basedir(fullpath TSRMLS_C
[all...]

Completed in 18 milliseconds