Searched defs:fullpath (Results 1 - 8 of 8) sorted by relevance

/PHP_5_3/
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_3/ext/com_dotnet/
H A Dcom_persist.c375 char *filename, *fullpath = NULL; local
395 fullpath = expand_filepath(filename, NULL TSRMLS_CC);
396 if (!fullpath) {
400 if ((PG(safe_mode) && (!php_checkuid(fullpath, NULL, CHECKUID_CHECK_FILE_AND_DIR))) ||
401 php_check_open_basedir(fullpath TSRMLS_CC)) {
402 efree(fullpath);
406 olefilename = php_com_string_to_olestring(filename, strlen(fullpath), helper->codepage TSRMLS_CC);
407 efree(fullpath);
442 char *filename, *fullpath; local
463 if (!(fullpath
[all...]
/PHP_5_3/ext/pdo_sqlite/
H A Dsqlite_driver.c764 char *fullpath = expand_filepath(filename, NULL TSRMLS_CC); local
766 if (!fullpath) {
770 if (PG(safe_mode) && (!php_checkuid(fullpath, NULL, CHECKUID_CHECK_FILE_AND_DIR))) {
771 efree(fullpath);
775 if (php_check_open_basedir(fullpath TSRMLS_CC)) {
776 efree(fullpath);
779 return fullpath;
/PHP_5_3/ext/sqlite/
H A Dpdo_sqlite2.c519 char *fullpath = expand_filepath(filename, NULL TSRMLS_CC); local
521 if (!fullpath) {
525 if (PG(safe_mode) && (!php_checkuid(fullpath, NULL, CHECKUID_CHECK_FILE_AND_DIR))) {
526 efree(fullpath);
530 if (php_check_open_basedir(fullpath TSRMLS_CC)) {
531 efree(fullpath);
534 return fullpath;
H A Dsqlite.c1548 char *filename, *fullpath, *hashkey; local
1568 if (!(fullpath = expand_filepath(filename, NULL TSRMLS_CC))) {
1572 if ((PG(safe_mode) && (!php_checkuid(fullpath, NULL, CHECKUID_CHECK_FILE_AND_DIR))) ||
1573 php_check_open_basedir(fullpath TSRMLS_CC)) {
1574 efree(fullpath);
1578 fullpath = estrndup(filename, filename_len);
1581 hashkeylen = spprintf(&hashkey, 0, "sqlite_pdb_%s:%ld", fullpath, mode);
1614 php_sqlite_open(fullpath, (int)mode, hashkey, return_value, errmsg, NULL TSRMLS_CC);
1616 efree(fullpath);
1626 char *filename, *fullpath local
1685 char *filename, *fullpath = NULL; local
[all...]
/PHP_5_3/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_3/ext/zip/
H A Dphp_zip.c146 char *fullpath; local
231 len = spprintf(&fullpath, 0, "%s/%s", file_dirname_fullpath, file_basename);
250 if (ZIP_OPENBASEDIR_CHECKPATH(fullpath)) {
251 efree(fullpath);
259 stream = php_stream_open_wrapper(fullpath, "w+b", REPORT_ERRORS|ENFORCE_SAFE_MODE, NULL);
261 stream = php_stream_open_wrapper(fullpath, "w+b", REPORT_ERRORS, NULL);
279 efree(fullpath);
294 efree(fullpath);
685 char fullpath[MAXPATHLEN]; local
704 snprintf(fullpath, MAXPATHLE
[all...]
/PHP_5_3/ext/phar/
H A Dphar_object.c4190 char *fullpath, *slash; local
4202 len = spprintf(&fullpath, 0, "%s/%s", dest, entry->filename);
4207 fullpath[50] = '\0';
4210 spprintf(error, 4096, "Cannot extract \"%s...\" to \"%s...\", extracted filename is too long for filesystem", tmp, fullpath);
4213 spprintf(error, 4096, "Cannot extract \"%s\" to \"%s...\", extracted filename is too long for filesystem", entry->filename, fullpath);
4215 efree(fullpath);
4221 efree(fullpath);
4225 if (PHAR_OPENBASEDIR_CHECKPATH(fullpath)) {
4226 spprintf(error, 4096, "Cannot extract \"%s\" to \"%s\", openbasedir/safe mode restrictions in effect", entry->filename, fullpath);
4227 efree(fullpath);
[all...]

Completed in 34 milliseconds