php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9105 Incorrect path used
Submitted: 2001-02-05 02:46 UTC Modified: 2001-04-05 14:22 UTC
From: sbergmann@php.net Assigned: sterling (profile)
Status: Closed Package: Sablotron XSL
PHP Version: 4.0 Latest CVS (05/02/2001) OS: Windows 2000 Professional
Private report: No CVE-ID: None
 [2001-02-05 02:46 UTC] sbergmann@php.net
I'm using the following script

<?php
  $p = xslt_create();
  $res = xslt_run($p, "test.xsl","test.xml");
  if(!$res) echo xslt_error($p);
  echo xslt_fetch_result($p);
  xslt_free($p);    
?>

The files test.xml and test.xsl are in the same directory as the script, but PHP searches for them in the directory that contains my PHP/CGI php.exe.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-04-05 14:22 UTC] sterling@php.net
Relative paths don't work with windows.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 14:01:30 2024 UTC