Home
last modified time | relevance | path

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

/PHP-7.4/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-7.4/ext/session/
H A Dmod_files.c95 char *basedir; member
118 buflen < (strlen(data->basedir) + 2 * data->dirdepth + key_len + 5 + sizeof(FILE_PREFIX))) { in ps_files_path_create()
123 memcpy(buf, data->basedir, data->basedir_len); in ps_files_path_create()
425 data->basedir = estrndup(save_path, data->basedir_len); in PS_OPEN_FUNC()
457 efree(data->basedir); in PS_CLOSE_FUNC()
646 *nrdels = ps_files_cleanup_dir(data->basedir, maxlifetime); in PS_GC_FUNC()
H A Dmod_files.bat9 ECHO Usage %0 ^<basedir^> ^<depth^> ^[^hash_bits^]
11 ECHO Where ^<basedir^> is the session directory
/PHP-7.4/main/
H A Dfopen_wrappers.h33 PHPAPI int php_check_specific_open_basedir(const char *basedir, const char *path);
H A Dfopen_wrappers.c139 PHPAPI int php_check_specific_open_basedir(const char *basedir, const char *path) argument
152 if (strcmp(basedir, ".") || !VCWD_GETCWD(local_open_basedir, MAXPATHLEN)) {
154 strlcpy(local_open_basedir, basedir, sizeof(local_open_basedir));
224 size_t basedir_len = strlen(basedir);
228 if (basedir[basedir_len - 1] == PHP_DIR_SEPARATOR || basedir[basedir_len - 1] == '/') {
230 if (basedir[basedir_len - 1] == PHP_DIR_SEPARATOR) {
/PHP-7.4/
H A Dphp.ini-development306 ; http://php.net/open-basedir
H A Dphp.ini-production306 ; http://php.net/open-basedir

Completed in 31 milliseconds