note 93481 added to function.is-file

From: Date: Fri, 11 Sep 2009 21:55:35 +0000
Subject: note 93481 added to function.is-file
Groups: php.notes 
Request: Send a blank email to php-notes+get-160478@lists.php.net to get a copy of this message
I have noticed that using is_file on windows servers (mainly for development) to use a full path c:\ doesn't always work. I have had to use C:/foldertowww/site/file.ext so I preform an str_replace('\\', '/', $path) Sometimes I have had the \ instead of / work. (this is using apache2 on XP) but for sure you cannot have mixed separators. ---- Server IP: 64.71.164.2 Probable Submitter: 67.53.101.218 ---- Manual Page -- http://www.php.net/manual/en/function.is-file.php Edit -- https://master.php.net/note/edit/93481 Del: integrated -- https://master.php.net/note/delete/93481/integrated Del: useless -- https://master.php.net/note/delete/93481/useless Del: bad code -- https://master.php.net/note/delete/93481/bad+code Del: spam -- https://master.php.net/note/delete/93481/spam Del: non-english -- https://master.php.net/note/delete/93481/non-english Del: in docs -- https://master.php.net/note/delete/93481/in+docs Del: other reasons-- https://master.php.net/note/delete/93481 Reject -- https://master.php.net/note/reject/93481 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#160478) next »