note 68067 deleted from function.file-exists by hholzgra

From: Date: Mon, 16 Apr 2012 17:59:59 +0000
Subject: note 68067 deleted from function.file-exists by hholzgra
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-187187@lists.php.net to get a copy of this message
Note Submitter: stefan at horn dot nl ---- file_exists and safe_mode file_exists under safe_mode works (I work with for php 4) doesn't work when owner of the dir where the file stands differs from the php-owner. e.g. file_exists in this dir will give FALSE nevertheless the file exists rights owner dir drwxr-xr-x apache images change the owner of the dir to the phpowner and file_exists works. I spent too much time to discover. Hope it will spare a lot of your time. Stefan

« previous php.notes (#187187) next »