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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
50 - 47 = ?
Subscribe to this entry?

 
 [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-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 08:01:27 2024 UTC