note 40630 deleted from function.xslt-set-base by sobak
| From: | sobak@php.net | Date: | Tue, 22 Nov 2016 03:34:20 +0000 |
| Subject: | note 40630 deleted from function.xslt-set-base by sobak | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-207367@lists.php.net to get a copy of this message | ||
Note Submitter: Kelvin Cheng
----
It works great on my windows platform as below.
<?php
$xh = xslt_create();
$fileBase = 'file://' . getcwd () . '/';
xslt_set_base ( $xh, $fileBase );
...
?>
Actually, it make use of the getcwd() to get the current directory. Hope it can help.