note 119934 added to function.simplexml-load-file
| From: | sirgrayjn at gmail dot com | Date: | Thu, 22 Sep 2016 21:51:31 +0000 |
| Subject: | note 119934 added to function.simplexml-load-file | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-206654@lists.php.net to get a copy of this message | ||
// Be carefull if you migrate or use local machine
// for test/development.
// Windows directory separators: "\" and "/"
// You may mix separators "C:\somedir\www/img/bg.jpg".
// Mixed separators path work fine in other functions
// But simplexml_load_file() failed with mixed separators.
// Examples:
include("C:\dir\my.php"); // work (windows)
include("C:\dir/my.php"); // work (windows) with mixed
include("C:/dir/my.php"); // work (windows, linux)
simplexml_load_file("C:\dir\my.php"); // work
simplexml_load_file("C:\dir/my.php"); // failed with mixed
simplexml_load_file("C:/dir/my.php"); // work
----
Server IP: 72.52.91.14
Probable Submitter: 77.93.110.117
----
Manual Page -- http://php.net/manual/en/function.simplexml-load-file.php
Edit -- https://master.php.net/note/edit/119934
Del: integrated -- https://master.php.net/note/delete/119934/integrated
Del: useless -- https://master.php.net/note/delete/119934/useless
Del: bad code -- https://master.php.net/note/delete/119934/bad+code
Del: spam -- https://master.php.net/note/delete/119934/spam
Del: non-english -- https://master.php.net/note/delete/119934/non-english
Del: in docs -- https://master.php.net/note/delete/119934/in+docs
Del: other reasons-- https://master.php.net/note/delete/119934
Reject -- https://master.php.net/note/reject/119934
Search -- https://master.php.net/manage/user-notes.php