Re: XSLT Extension and paths

From: Date: Fri, 16 Nov 2001 13:34:41 +0000
Subject: Re: XSLT Extension and paths
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-70651@lists.php.net to get a copy of this message
On November 16, 2001 06:16 am, Sebastian Bergmann wrote:
>   'lo there,
>
>   I have a test.php script in the same directoy under htdocs as both
> a test.xml and a test.xsl file.
>
>     <?php
>     $p = xslt_create();
>     $res = xslt_process($p, 'test.xml','test.xsl');
>     if(!$res) echo xslt_error($p);
>     echo $res;
>     xslt_free($p);
>     ?>
>
>   On Windows, the XSLT extension tries to find the test.xml and
> test.xsl files not in the directory as test.php is in, but in the
> direcory where the php.exe is located.

	How are you running PHP under Win - CGI, ISAPI, 
	Apache Mod??

	What does getcwd() output?

-- 
Zak Greant

PHP Quality Assurance Team
http://qa.php.net/

"We must be the change we wish to see." - M. K. Ghandi



Thread (7 messages)

« previous php.dev (#70651) next »