Re: safe_mode and file upload forms

From: Date: Wed, 01 Mar 2000 11:22:11 +0000
Subject: Re: safe_mode and file upload forms
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-16198@lists.php.net to get a copy of this message
rasmus@php.net wrote: > > 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. Is this an intentional feature of safe_mode or is there simply a "take_upload_file()" function missing, which copies this file into a user specified location ignoring safe_mode restriction? Kristian -- Kristian Köhntopp, NetUSE Kommunikationstechnologie GmbH Siemenswall, D-24107 Kiel, Germany, +49 431 386 436 00 Using PHP3? See our web development library at http://phplib.netuse.de/ (We have moved! Update your bookmarks!)

« previous php.dev (#16198) next »