Searched refs:basedir (Results 1 – 11 of 11) sorted by relevance
/php-src/ext/spl/tests/ |
H A D | gh11338.phpt | 13 test('/dir/anotherdir/basedir//'); 14 test('/dir/anotherdir/basedir/'); 15 test('/dir/anotherdir/basedir'); 25 string(7) "basedir" 26 string(7) "basedir" 28 string(7) "basedir" 29 string(7) "basedir" 31 string(7) "basedir" 32 string(7) "basedir" 34 string(7) "basedir" [all …]
|
/php-src/ext/standard/tests/file/ |
H A D | open_basedir_cwd_resolve.phpt | 8 var_dump(file_get_contents('/some/path/outside/open/basedir')); 12 …ents(): open_basedir restriction in effect. File(/some/path/outside/open/basedir) is not within th… 14 Warning: file_get_contents(/some/path/outside/open/basedir): Failed to open stream: Operation not p…
|
/php-src/ext/pdo_sqlite/tests/ |
H A D | pdo_sqlite_open_basedir.phpt | 10 // create in basedir 17 // create outside basedir
|
H A D | pdo_sqlite_open_basedir_uri.phpt | 10 // create in basedir
|
/php-src/ext/session/ |
H A D | mod_files.c | 94 zend_string *basedir; member 114 …buflen < (ZSTR_LEN(data->basedir) + 2 * data->dirdepth + ZSTR_LEN(key) + 5 + sizeof(FILE_PREFIX)))… in ps_files_path_create() 119 memcpy(buf, ZSTR_VAL(data->basedir), ZSTR_LEN(data->basedir)); in ps_files_path_create() 120 n = ZSTR_LEN(data->basedir); in ps_files_path_create() 417 data->basedir = zend_string_init(save_path, strlen(save_path), /* persistent */ false); in PS_OPEN_FUNC() 449 zend_string_release_ex(data->basedir, /* persistent */ false); in PS_CLOSE_FUNC() 638 *nrdels = ps_files_cleanup_dir(data->basedir, maxlifetime); in PS_GC_FUNC()
|
H A D | mod_files.bat | 9 ECHO Usage %0 ^<basedir^> ^<depth^> ^[^bits^] 11 ECHO Where ^<basedir^> is the session directory
|
/php-src/main/ |
H A D | fopen_wrappers.h | 31 PHPAPI int php_check_specific_open_basedir(const char *basedir, const char *path);
|
H A D | fopen_wrappers.c | 142 PHPAPI int php_check_specific_open_basedir(const char *basedir, const char *path) argument 155 if (strcmp(basedir, ".") || !VCWD_GETCWD(local_open_basedir, MAXPATHLEN)) { 157 strlcpy(local_open_basedir, basedir, sizeof(local_open_basedir)); 227 size_t basedir_len = strlen(basedir); 231 if (basedir[basedir_len - 1] == PHP_DIR_SEPARATOR || basedir[basedir_len - 1] == '/') { 233 if (basedir[basedir_len - 1] == PHP_DIR_SEPARATOR) {
|
/php-src/ext/tidy/tests/ |
H A D | open_basedir_failure_config.phpt | 2 Tidy with basedir restriction failure on configuration file
|
/php-src/ |
H A D | php.ini-development | 317 ; https://php.net/open-basedir
|
H A D | php.ini-production | 317 ; https://php.net/open-basedir
|
Completed in 48 milliseconds