Home
last modified time | relevance | path

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

/PHP-8.0/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-8.0/ext/session/
H A Dmod_files.c93 char *basedir; member
116 buflen < (strlen(data->basedir) + 2 * data->dirdepth + key_len + 5 + sizeof(FILE_PREFIX))) { in ps_files_path_create()
121 memcpy(buf, data->basedir, data->basedir_len); in ps_files_path_create()
423 data->basedir = estrndup(save_path, data->basedir_len); in PS_OPEN_FUNC()
455 efree(data->basedir); in PS_CLOSE_FUNC()
644 *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-8.0/main/
H A Dfopen_wrappers.h31 PHPAPI int php_check_specific_open_basedir(const char *basedir, const char *path);
H A Dfopen_wrappers.c130 PHPAPI int php_check_specific_open_basedir(const char *basedir, const char *path) argument
143 if (strcmp(basedir, ".") || !VCWD_GETCWD(local_open_basedir, MAXPATHLEN)) {
145 strlcpy(local_open_basedir, basedir, sizeof(local_open_basedir));
215 size_t basedir_len = strlen(basedir);
219 if (basedir[basedir_len - 1] == PHP_DIR_SEPARATOR || basedir[basedir_len - 1] == '/') {
221 if (basedir[basedir_len - 1] == PHP_DIR_SEPARATOR) {
/PHP-8.0/
H A Dphp.ini-development317 ; http://php.net/open-basedir
H A Dphp.ini-production317 ; http://php.net/open-basedir

Completed in 22 milliseconds