note 100694 added to function.rename
| From: | blackhole at ggot dot org | Date: | Sun, 31 Oct 2010 23:39:59 +0000 |
| Subject: | note 100694 added to function.rename | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-173628@lists.php.net to get a copy of this message | ||
Anonymous is incorrect -- Windows systems, at least as far back as XP, and forward including Server
2003, Vista, Server 2008 and 7 are ALL compatible with forward slash path separators, meaning you
don't have to keep escaping the slashes, EXCEPT in the case of UNC names, however this:
<?php
$path = '\\\\somemachine/path/to/resource';
?>
is perfectly valid, as is this:
<?php
$path = 'c:/path/to/resource';
?>
----
Server IP: 208.69.120.55
Probable Submitter: 98.219.118.210
----
Manual Page -- http://www.php.net/manual/en/function.rename.php
Edit -- https://master.php.net/note/edit/100694
Del: integrated -- https://master.php.net/note/delete/100694/integrated
Del: useless -- https://master.php.net/note/delete/100694/useless
Del: bad code -- https://master.php.net/note/delete/100694/bad+code
Del: spam -- https://master.php.net/note/delete/100694/spam
Del: non-english -- https://master.php.net/note/delete/100694/non-english
Del: in docs -- https://master.php.net/note/delete/100694/in+docs
Del: other reasons-- https://master.php.net/note/delete/100694
Reject -- https://master.php.net/note/reject/100694
Search -- https://master.php.net/manage/user-notes.php