ID: 12310
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Bogus
Bug Type: Any
Old Operating System: WinNT  IIS
Operating System: WinNT IIS
PHP Version: 4.0.6
New Comment:

This is because microsoft's directory structure uses backslashes
, not forward slashes in your script.  Try replacing the "/" with "\\"


Previous Comments:
------------------------------------------------------------------------

[2001-07-22 18:06:45] [EMAIL PROTECTED]

<?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 this bug report at http://bugs.php.net/?id=12310&edit=1


-- 
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]

Reply via email to