note 22896 deleted from function.include by spic

From: Date: Wed, 28 Aug 2002 07:59:09 +0000
Subject: note 22896 deleted from function.include by spic
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-35853@lists.php.net to get a copy of this message
<?php session_start(); echo $conf; include("d:/www/cs/admin/config.php"); ?> this echos d:/www/cs/admin/config.php and the include successfuly includes the config file. this: <?php session_start(); echo $conf; include $conf; ?> does not include the file correctly and my paths are fouled up after that, even though in the previous code block the echoed path is the same as the successful inclusion path and 'include $file' appears to be acceptable syntax based on the include function documentation Any suggestions would be helpful. Thanks

« previous php.notes (#35853) next »