In trying to finish up this recipe I came up with a bug... if (! CondAuth($p, $HandleAuth['source'])) return ''; seems to fail whether or not I have permission or not (defined in config.php as admin. $p is correct value. Help? Cheers, Dan