ID: 6385 Updated by: zeev Reported By: [EMAIL PROTECTED] Old-Status: Analyzed Status: Feedback Bug Type: Scripting Engine problem Operating system: PHP Version: 4.0 Latest CVS (27/08/2000) Assigned To: Comments: Does this still happen with 4.0.5 or latest CVS? I can't reproduce it. Previous Comments: --------------------------------------------------------------------------- [2001-01-08 15:40:35] [EMAIL PROTECTED] not IIS-specific, reclassifying --------------------------------------------------------------------------- [2000-11-04 06:34:12] [EMAIL PROTECTED] tested on CGI+ApacheMod, both return lowercased --------------------------------------------------------------------------- [2000-08-31 09:02:16] [EMAIL PROTECTED] Does this happen with CGI version? I suspect it might be just IIS which sets your filename lowercase... --------------------------------------------------------------------------- [2000-08-27 21:28:47] [EMAIL PROTECTED] if I´m calling a file "FooBar.php", echo __FILE__; will output "foobar.php". Although w32 allows files only in-sensitive (no FooBar.php and foobar.php concurrently) it saves the case information and thus __FILE__ (and related) should contain this cased information too. This will bug will also cause scripts not to be platform independend: // filename lowercased $filename=basename(__FILE__); // HTTP REQUEST, w cased filename $fullpage=substr($tmp=strtolower(getenv('SERVER_PROTOCOL')),0,strpos($tmp,'/')).'://'.getenv('HTTP_HOST').getenv('REQUEST_URI'); $pageonly=substr($fullpage,0,strpos($fullpage,$filename)+strlen($filename)); hile this script should work on *nix calling "foobar.php" it does not on w32 --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=6385&edit=2 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]