<?php require('/web/directory/file.inc'); require('/web/differentdirectory/file2.inc'); ?>
$a = 'whatever';
So the problem is that file2.inc will not echo "whatever" (as if $a isn't set). If I did the same kind of thing within the /web/ folder, it works fine. I hope I'm making sense.