php - openbase_dir and subdirectories -


i have numerous subdirectories eg. /home/a, /home/a/file, /home/a/txt, /home/b, /home/b/file, /home/b/txt, etc.

the subdirectories created on demand. need add subdirectories open_basedir.

pls advise how make open_basedir recognise subdirectories of top path?

from http://php.net/manual/en/ini.core.php#ini.open-basedir

the restriction specified open_basedir directory name since php 5.2.16 , 5.3.4. previous versions used prefix. means "open_basedir = /dir/incl" allowed access "/dir/include" , "/dir/incls" if exist. when want restrict access specified directory, end slash. example: open_basedir = /dir/incl/

/dir/incl/ = directory no subdirectories

dir/incl = subdirectories


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -