Windows Include
| From: | Jason | Date: | Thu, 26 Sep 2002 17:24:17 +0000 |
| Subject: | Windows Include | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-16021@lists.php.net to get a copy of this message | ||
Can anyone help me?
When i use the following include file:
file globals.php
$DB='whatever';
then reference it from another script with:
<?php
include '..\..\globals.php';
?>
I get
$DB = 'whatever'
being printed on the screen and the script cant recognise $DB (undefined)
afterwards.
Thanks for any help for a novice!