Re: safe_mode and file upload forms
| From: | rasmus@php.net | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: safe_mode and file upload forms | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-16187@lists.php.net to get a copy of this message | ||
> safe_mode restricts access to files to all files whose
> owner matches the owner of the script currently executed.
>
> A tempfile as created by a file upload form seems to be
> owned by the webserver user and consequently cannot be
> accessed under the safe_mode restriction. That makes
> file upload pretty much useless under safe_mode.
Correct. This has always been so.
-Rasmus