Categories: ItTech
不知是不是由于PHP对Windows的支持不是很透明,要解决昨天的问题,需要下面两种方法:
第一种方法,在xslt_create后立即使用下面的代码:
$fileBase = 'file://' . getcwd () . '/'; xslt_set_base ( $xh, $fileBase );
第二种方法,对xmlfile和xslfile的文件名做类似的处理:
$xmlfile = 'file://' . realpath("order.xml");
$xslfile = 'file://' . realpath("order.xsl");
Posted by dumm at April 26, 2004 09:32 AM
Good information, thank
Posted by: laser hair removal denver at October 10, 2006 04:24 PM