Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2001092

Re: [PHP] 4.0.7 = when? From: Felix (felix <email protected>)
Date: 09/19/01

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 <email protected>>
To: "Rasmus Lerdorf" <rasmus <email protected>>
Cc: "Camille Davis" <archcape <email protected>>; <php-general <email protected>>
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 <email protected>
> For additional commands, e-mail: php-general-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>