php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10644 __FILE__ missing path delimiters
Submitted: 2001-05-03 15:16 UTC Modified: 2001-05-05 19:52 UTC
From: chagenbu@php.net Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0.5 OS: Linux (Debian) 2.2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: chagenbu@php.net
New email:
PHP Version: OS:

 

 [2001-05-03 15:16 UTC] chagenbu@php.net
With 4.0.6 latest cvs (not 4.0.5; is there a reason the latest cvs option in the versions menu is dated March?), __FILE__ is returning the filename with no path delimiters. For example, if the script is /var/www/foo.php, __FILE__ contains 'varwwwfoo.php'.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-03 15:59 UTC] derick@php.net
I also encountered this.
 [2001-05-05 18:13 UTC] andi@php.net
Should be fixed in latest CVS.
Please make sure you update TSRM.
 [2001-05-05 19:52 UTC] chagenbu@php.net
fix confirmed. thanks!
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun Mar 07 04:01:23 2021 UTC