php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #27308 Include Paths
Submitted: 2004-02-18 05:51 UTC Modified: 2004-02-18 17:52 UTC
From: php at richard-fila dot co dot uk Assigned:
Status: Not a bug Package: *Directory/Filesystem functions
PHP Version: Irrelevant OS: Windows & Linux
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: php at richard-fila dot co dot uk
New email:
PHP Version: OS:

 

 [2004-02-18 05:51 UTC] php at richard-fila dot co dot uk
Description:
------------
When including a file the handling of paths differs between linux and windows.

When including a file from a file which has already been included the second level include paths are different.  Windows recalculates the ./ path for each included script while linux just uses the ./ path from the first script accessed.  This means relative paths cannot be used.

Obviously the windows method is the correct one.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-02-18 17:52 UTC] iliaa@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

The behavior is different for ZTS and non-zts modes. 
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Nov 04 05:01:28 2024 UTC