Re: 4.0.7 = when?
| From: | Felix | Date: | Wed, 19 Sep 2001 14:07:04 +0000 |
| Subject: | Re: 4.0.7 = when? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-67837@lists.php.net to get a copy of this message | ||
open_basedir string
Limit the files that can be opened by PHP to the specified directory-tree.
When a script tries to open a file with, for example, fopen or gzopen, the
location of the file is checked. When the file is outside the specified
directory-tree, PHP will refuse to open it. All symbolic links are resolved,
so it's not possible to avoid this restriction with a symlink.
The special value . indicates that the directory in which the script is
stored will be used as base-directory.
Under Windows, separate the directories with a semicolon. On all other
systems, separate the directories with a colon. As an Apache module,
open_basedir paths from parent directories are now automatically inherited.
Note: Support for multiple directories was added in 3.0.7.
The default is to allow all files to be opened.
That was taken from the manual: Chapter 3 [configuration file]
Felix
----- Original Message -----
From: "Alexander Skwar" <ASkwar@DigitalProjects.com>
To: "Rasmus Lerdorf" <rasmus@php.net>
Cc: "Camille Davis" <archcape@yahoo.com>; <php-general@lists.php.net>
Sent: Wednesday, September 19, 2001 5:15 AM
Subject: Re: [PHP] 4.0.7 = when?
> So sprach »Rasmus Lerdorf« am 2001-09-18 um 10:26:15 -0700 :
> > open_basedir has been around for years. It is not a new 4.0.7 feature.
>
> Uhm, what does open_basedir do? I can't find it in the manual?
>
> Alexander Skwar
> --
> How to quote: http://learn.to/quote (german)
> http://quote.6x.to (english)
> Homepage: http://www.digitalprojects.com |
> http://www.iso-top.de
> iso-top.de - Die günstige Art an Linux Distributionen zu kommen
> Uptime: 1 day 1 hour 43 minutes
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net