I've kicked myself thoroughly now. Thanks a lot, it's been really irritating me for a while that little problem. I've used that workaround before too - why did it slip my mind this time? >> include($DOCUMENT_ROOT."/inc/globals.php"); Thanks again