Thanks for the link, but I actually want the file to be included, and the php code contained to be executed. I'm hoping I'm making a fool of myself and will kick myself when I work out how to do it. The virtual command doesn't do what I'm after.