Home
last modified time | relevance | path

Searched refs:basedir (Results 1 – 10 of 10) sorted by relevance

/php-src/ext/spl/tests/
H A Dgh11338.phpt13 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 Dopen_basedir_cwd_resolve.phpt8 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 Dpdo_sqlite_open_basedir.phpt10 // create in basedir
17 // create outside basedir
H A Dpdo_sqlite_open_basedir_uri.phpt10 // create in basedir
/php-src/ext/session/
H A Dmod_files.c94 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 Dmod_files.bat9 ECHO Usage %0 ^<basedir^> ^<depth^> ^[^bits^]
11 ECHO Where ^<basedir^> is the session directory
/php-src/main/
H A Dfopen_wrappers.h31 PHPAPI int php_check_specific_open_basedir(const char *basedir, const char *path);
H A Dfopen_wrappers.c142 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/
H A Dphp.ini-development327 ; https://php.net/open-basedir
H A Dphp.ini-production327 ; https://php.net/open-basedir

Completed in 32 milliseconds