Re: [PHP] How to solve include_path / safe_mode / open_basedir /document_root

2003-06-26 Thread Adam Henry
PHP4: 4.3.2 Likewise, my intention is to restrict the user within '/home/ahank/public_html' when using fopen(), but allow the user to use include() on files in '/usr/local/share/wl'. Here is my VirtualHost config: php_admin_flag register_globals Off php_admin_flag safe_mode On

[PHP] How to solve include_path / safe_mode / open_basedir /document_root ?

2003-03-25 Thread Robert Mena
Hi, I host some virtual servers in a Linux/apache/php 4 enviroment. I'd like to set up as secure as possible since the users have ftp access to upload files. So each virtual domain has a safe_mode/open_basedir settings in order to make it difficult to mess with each other's files.

Re: [PHP] How to solve include_path / safe_mode / open_basedir /document_root?

2003-03-25 Thread Marek Kilimajer
/safe_mode_include_dir/ *string* cid:[EMAIL PROTECTED] UID/GID checks are bypassed when including files from this directory and its subdirectories (directory must also be in include_path cid:[EMAIL PROTECTED] or full path must including). As of PHP 4.2.0, this directive can take a