Thanks a lot guys! Eventually Richard hit on the issue:
require(".\foo.inc.php"); ?># If you put .\ in there, then maybe PHP thinks you mean to NOT use the include_path, but only the local directory? Take .\ out.
it was the .\ that stopped it working. taking it out worked a treat! thanks again! Brice -- "Reality is that which, when you stop believing in it, doesn't go away."-Philip K. Dick