>> Have you checked $_SERVER['HTTP_HOST'] and $_SERVER['SERVER_NAME']?
Thanks for the suggestion. Unfortunately, that didn't work. When the user goes to either "domain1.com" or "domain2.com" he or she is redirected (with URL masking) to "pmwikihost.com". Instead of returning "domain1.com" or "domain2.com", those two variables return "pmwikihost.com". But I want the domain name that the user typed - for example, "domain1.com". Clearly that information is available to the server, because it appears as the browser's title. I just don't know how to get it via pmwiki markup. Randy _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
