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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Thu Mar 28 09:01:26 2024 UTC