This is a discussion on "unsafe" directory display within the PHP Language forums, part of the PHP Programming Forums category; I want to allow to display the contents of the directory "/home/ftp/incoming/news". Is the setting &...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I want to allow to display the contents of the directory
"/home/ftp/incoming/news". Is the setting "safe_mode_include_dir" (http://de.php.net/manual/en/features.safe-mode.php) the right one to support additional access rights for a few selected directories? |
|
|||
|
Markus Elfring wrote:
> I want to allow to display the contents of the directory > "/home/ftp/incoming/news". > Is the setting "safe_mode_include_dir" > (http://de.php.net/manual/en/features.safe-mode.php) the right one to > support additional access rights for a few selected directories? There's a difference between 'include_dir' and 'open_basedir'. Just search for it on the PHP site. -- Pieter Nobels |
|
|||
|
> There's a difference between 'include_dir' and 'open_basedir'.
I want to "include" additional directories for the use of the function "opendir" in safe mode instead of excluding paths. I would prefer to specify permissions instead of restrictions. |