note 103868 deleted from function.xmlwriter-open-uri by cmb

From: Date: Fri, 09 Sep 2016 16:38:50 +0000
Subject: note 103868 deleted from function.xmlwriter-open-uri by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-206541@lists.php.net to get a copy of this message
Note Submitter: Lukas Knuth ---- If you're facing problems on Windows Servers running PHP 5.3 and newer, where this function quits with an "Unable to resolve file path" Error, here is a Workaround which isn't posted on the Bug site yet: Add this before you use the openURI()-function: <?php touch($uri); $uri = realpath($uri); ?> This Bug appears in the following cases: $xml->openURI('file.xml'); -> ok! $xml->openURI('../file.xml'); -> ok! $xml->openURI('xml/file.xml'); -> DON'T WORK! $xml->openURI('../xml/file.xml'); -> DON'T WORK!

« previous php.notes (#206541) next »