note 73904 added to function.file-exists

From: Date: Thu, 15 Mar 2007 01:49:55 +0000
Subject: note 73904 added to function.file-exists
Groups: php.notes 
Request: Send a blank email to php-notes+get-124465@lists.php.net to get a copy of this message
If the file being tested by file_exists() is a file on a symbolically-linked directory structure, the results depend on the permissions of the directory tree node underneath the linked tree. PHP under a web server (i.e. apache) will respect permissions of the file system underneath the symbolic link, contrasting with PHP as a shell script which respects permissions of the directories that are linked (i.e. on top, and visible). This results in files that appear to NOT exist on a symbolic link, even though they are very much in existance and indeed are readable by the web server. ---- Server IP: 64.71.164.2 Probable Submitter: 24.187.20.21 ---- Manual Page -- http://www.php.net/manual/en/function.file-exists.php Edit -- https://master.php.net/note/edit/73904 Del: integrated -- https://master.php.net/note/delete/73904/integrated Del: useless -- https://master.php.net/note/delete/73904/useless Del: bad code -- https://master.php.net/note/delete/73904/bad+code Del: spam -- https://master.php.net/note/delete/73904/spam Del: non-english -- https://master.php.net/note/delete/73904/non-english Del: in docs -- https://master.php.net/note/delete/73904/in+docs Del: other reasons-- https://master.php.net/note/delete/73904 Reject -- https://master.php.net/note/reject/73904 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#124465) next »