Re: File upload, suid directory and temporary dir

From: Date: Fri, 11 Feb 2005 16:15:34 +0000
Subject: Re: File upload, suid directory and temporary dir
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-208526@lists.php.net to get a copy of this message
ADNET Ghislain wrote: > upload_tmp_dir /www/htdocs/upload /no value/ ^^^^^^^^^^^ / / *THIS* is the one that matters -----------------+ Somehow, you are OVER-RIDING your php.ini in either .htaccess or your PHP source to set this upload_tmp_dir to a blank, or an invalid directory or... Or, perhaps, your suid bit setting is making PHP nervous, and it's deciding to not use that directory, so then it reverts to the default when you do the upload. So PHP is reading the php.ini, setting the value, then over-riding it somewhere/somehow "locally" in an .htaccess or something. Hope that helps.` -- Like Music? http://l-i-e.com/artists.htm

« previous php.general (#208526) next »