#20690 [Opn]: fopen should check with uploaded_file not only open_basedir

From: Date: Thu, 28 Nov 2002 11:23:40 +0000
Subject: #20690 [Opn]: fopen should check with uploaded_file not only open_basedir
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-26059@lists.php.net to get a copy of this message
ID: 20690 Updated by: sniper@php.net Reported By: xuefer@21cn.com Status: Open -Bug Type: Filesystem function related +Bug Type: Feature/Change Request Operating System: all PHP Version: 4.2.3 New Comment: reclassified. Previous Comments: ------------------------------------------------------------------------ [2002-11-27 20:57:25] xuefer@21cn.com (feature request) in restrict mode, php check fopen() file with uploaded_file when it's not in open_basedir by now, i have to move_uploaded_file() to my {open_basedir}/tmp, read it, and delete it in shutdown_function. i know, we can config php to use stand alone uploadtmp instead of /tmp, and add it to open_basedir, e.g.: /www/tmp but would'nt it nice to check with uploaded_file ? :) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20690&edit=1

« previous php.bugs (#26059) next »