inclusion in safe mode
| From: | Matthias Lenk | Date: | Mon, 04 Sep 2000 13:23:12 +0000 |
| Subject: | inclusion in safe mode | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-15120@lists.php.net to get a copy of this message | ||
Hi,
Does anybody know how to include php-files in safe mode that don´t belong to
the user of including script? Even if the script to include is within the
include_path PHP4 refuses it with error message ".. The script whose uid is
512 is not allowed to access .. owned by uid 0 in ... on line 3". I can´t
afford to switch off the safe mode and the script i want to include is not
mine. Have some work arounds like loading the file into memory or loading
the file into my MySQL database and use eval() to execute, but don´t like
that ideas.
Thanx
Matthias