This is obvious, but easy to forget: if you include a file, the include file can only make use of constants already defined. For example:
<?php
define("VEG","cabbage");
require("another file");
define("FRUIT","apple");
// "another file":
echo VEG; // cabbage
echo FRUIT; // FRUIT
?>