Re: open_basedir clarification
| From: | Tom Dangler | Date: | Fri, 09 Jan 2004 13:58:30 +0000 |
| Subject: | Re: open_basedir clarification | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-174113@lists.php.net to get a copy of this message | ||
Matt,
From the php manual:
The restriction specified with open_basedir is actually a prefix, not a directory name. This means
that "open_basedir = /dir/incl" also allows access to "/dir/include" and
"/dir/incls" if they exist. When you want to restrict access to only the specified
directory, end with a slash. For example: "open_basedir = /dir/incl/"
php manual link:
http://www.zend.com/manual/features.safe-mode.php
Tom Dangler
>>> "Matt Grimm" <mgrimm@healthtvchannel.org> 01/08/04 07:16PM >>>
Can anyone clarify this for me? Is open_basedir recursive or restricted to
the exact paths specified?
--
Matt Grimm
"Matt Grimm" <mgrimm@healthtvchannel.org> wrote in message
news:20040108201633.92074.qmail@pb1.pair.com...
> If my server has an open_basedir restriction in place for my home
directory,
> I understand that to mean I can only open files in the same directory as
> whatever script is currently running. Is that correct?
>
> --
> Matt Grimm
> Web Developer
> The Health TV Channel, Inc.
> (a non - profit organization)
> 3820 Lake Otis Parkway
> Anchorage, AK 99508
> 907.770.6200 ext. 686
> 907.336.6205 (fax)
> E-mail: mgrimm@healthtvchannel.org
> Web: www.healthtvchannel.org