__FILE__ issue
Brought to you by:
dstogov
Platforms:
IIS 5.1 + php 4.3.8 WinXp
IIS 5.1 + php 5.0.1 WinXp
IIS 6.0 + php 4.3.8 Win2003
turck-mmcache-2.4.7-cvs
turck-mmcache-2.4.6
It seems __FILE__ issue is still at hand... If you
encode a file and move it to another path, __FILE__
still points to original path not the one script is
executed from.
Consider file c:\php\index.php:
<?
echo __FILE__;
?>
encoding and moving this file to c:\php5\index.php
will still produce output c:\php\index.php!
Don't know if it's the case on linux/apache, but to me
it seems to be a m$ matter.
Logged In: YES
user_id=1183433
check this, more info about that in the eaccelerator project
http://sourceforge.net/tracker/index.php?
func=detail&aid=1093024&group_id=122249&atid=692864