|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-08-27 11:44 UTC] sander@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 12:00:01 2025 UTC |
Okay - set up a common script directory. /home/httpd/phpi in php.ini - set include_dir = .:/home/httpd/phpi set safe_mode on. Put a file into the directory. Call it "counter.inc" make the owner of counter.inc any user and any group. make a web page with a different user in the same group. the web page cannot include("counter.inc"); you get a warning: SAFE MODE that uid 1 <> uid 2. This makes it impossible to have shared php includes across multiple users. - REQUEST - Allow some way for SAFE MODE to ignore user matching on a selected directory (or set of directories.) Or ignore matching for a specific userid/or/groupid on the target files??? Or, let me know what I'm doing wrong??? - Thanks - Alexander p.s. PHP rules ;-)