Bug #12310: $SCRIPT_FILENAME

From: Date: Sun, 22 Jul 2001 22:06:45 +0000
Subject: Bug #12310: $SCRIPT_FILENAME
Groups: php.dev 
Request: Send a blank email to php-dev+get-60677@lists.php.net to get a copy of this message
From: michael@frifra.de Operating system: WinNT IIS PHP version: 4.0.6 PHP Bug Type: Any Bug description: $SCRIPT_FILENAME <?php $path=dirname($SCRIPT_FILENAME); include($path."/inc/navi_d.inc"); ?> The code is ok and work on several servers, but on my own M$ IIS i get the return Message: Warning: Undefined variable: SCRIPT_FILENAME in C:\Inetpub\wwwroot\informatik\index.php3 on line 50 Warning: Failed opening '/inc/navi_d.inc' for inclusion (include_path='') in C:\Inetpub\wwwroot\informatik\index.php3 on line 51 What could be the reason? -- Edit bug report at: http://bugs.php.net/?id=12310&edit=1

« previous php.dev (#60677) next »