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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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

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-2022 The PHP Group
All rights reserved.
Last updated: Mon Aug 08 00:05:45 2022 UTC