Re: [PATCH] ftp extension safe_mode awareness patch

From: Date: Sun, 17 Mar 2002 14:12:27 +0000
Subject: Re: [PATCH] ftp extension safe_mode awareness patch
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-81381@lists.php.net to get a copy of this message
On Sun, 17 Mar 2002 sesser@php.net wrote: > Hi, > > I want your comments. This patch adds safe_mode awareness to the > ftp extension. It was done against the 4.2.0 tree because there > must be some changes in the extension because of streams and so > i wanted to ensure that it is working first. > > This patch modifies: > > is_uploaded_file : works now also on files retrieved via ftp_get > > move_uploaded_file : works now also on files retrieved via ftp_get > > ftp_get: checks safe_mode and openbasedir restrictions and adds downloaded > files to a hashtable > > ftp_put: checks safe_mode and openbasedir restrictions > > php_checkuid: handles ftp_uploaded files in the same way rfc1867 uploaded > files are handled + FIX: correct output if file does not exist > > sapi_deactivate: will remove uploaded files Do you mean 'uploaded' or 'downloaded' here? > > > Stefan > > PS: Due to the changes done a few days ago in php_checkuid there will be > a lot of bug reports (i guess) because checkuid is now really strict > > ----------------------------------------------------------------------- PHP: Scripting the Web - derick@php.net All your branches are belong to me! SRM: Site Resource Manager - www.vl-srm.net -----------------------------------------------------------------------

« previous php.dev (#81381) next »