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

/PHP_5_6/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_6/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_6/
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_6/ext/sqlite3/
H A Dsqlite3.c104 char *filename, *encryption_key, *fullpath; local
128 if (!(fullpath = expand_filepath(filename, NULL TSRMLS_CC))) {
134 if (PG(safe_mode) && (!php_checkuid(fullpath, NULL, CHECKUID_CHECK_FILE_AND_DIR))) {
135 zend_throw_exception_ex(zend_exception_get_default(TSRMLS_C), 0 TSRMLS_CC, "safe_mode prohibits opening %s", fullpath); local
136 efree(fullpath);
141 if (php_check_open_basedir(fullpath TSRMLS_CC)) {
142 zend_throw_exception_ex(zend_exception_get_default(TSRMLS_C), 0 TSRMLS_CC, "open_basedir prohibits opening %s", fullpath); local
143 efree(fullpath);
147 fullpath = estrdup(filename);
151 if (sqlite3_open_v2(fullpath,
356 char fullpath[MAXPATHLEN]; local
[all...]
/PHP_5_6/ext/zip/
H A Dphp_zip.c171 char *fullpath; local
256 len = spprintf(&fullpath, 0, "%s/%s", file_dirname_fullpath, file_basename);
274 if (ZIP_OPENBASEDIR_CHECKPATH(fullpath)) {
275 efree(fullpath);
283 stream = php_stream_open_wrapper(fullpath, "w+b", REPORT_ERRORS|ENFORCE_SAFE_MODE, NULL);
285 stream = php_stream_open_wrapper(fullpath, "w+b", REPORT_ERRORS, NULL);
310 efree(fullpath);
686 char fullpath[MAXPATHLEN]; local
705 snprintf(fullpath, MAXPATHLEN, "%s%c%s", path, DEFAULT_SLASH, namelist[i]);
707 if (0 != VCWD_STAT(fullpath,
[all...]
/PHP_5_6/ext/phar/
H A Dphar_object.c4119 char *fullpath; local
4166 len = spprintf(&fullpath, 0, "%s/%s", dest, filename);
4171 fullpath[50] = '\0';
4174 spprintf(error, 4096, "Cannot extract \"%s...\" to \"%s...\", extracted filename is too long for filesystem", tmp, fullpath);
4177 spprintf(error, 4096, "Cannot extract \"%s\" to \"%s...\", extracted filename is too long for filesystem", entry->filename, fullpath);
4179 efree(fullpath);
4186 efree(fullpath);
4191 if (PHAR_OPENBASEDIR_CHECKPATH(fullpath)) {
4192 spprintf(error, 4096, "Cannot extract \"%s\" to \"%s\", openbasedir/safe mode restrictions in effect", entry->filename, fullpath);
4193 efree(fullpath);
[all...]

Completed in 78 milliseconds