note 73954 added to ref.filesystem

From: Date: Sat, 17 Mar 2007 17:24:19 +0000
Subject: note 73954 added to ref.filesystem
Groups: php.notes 
Request: Send a blank email to php-notes+get-124538@lists.php.net to get a copy of this message
I just learned that, to specify file names in a portable manner, you DON'T need 'DIRECTORY_SEPARATOR' - just use '/'. This really surprised and shocked me, as until now I typed about a zillion times 'DIRECTORY_SEPARATOR' to stay platform independent - unnecessary. Don't make the same mistake. ---- Server IP: 69.147.83.197 Probable Submitter: 217.228.125.89 ---- Manual Page -- http://www.php.net/manual/en/ref.filesystem.php Edit -- https://master.php.net/note/edit/73954 Del: integrated -- https://master.php.net/note/delete/73954/integrated Del: useless -- https://master.php.net/note/delete/73954/useless Del: bad code -- https://master.php.net/note/delete/73954/bad+code Del: spam -- https://master.php.net/note/delete/73954/spam Del: non-english -- https://master.php.net/note/delete/73954/non-english Del: in docs -- https://master.php.net/note/delete/73954/in+docs Del: other reasons-- https://master.php.net/note/delete/73954 Reject -- https://master.php.net/note/reject/73954 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#124538) next »