<div class="gmail_quote">On Wed, Apr 22, 2009 at 3:59 PM, Randy Brown <span dir="ltr"><<a href="mailto:randy@brownragfilms.com">randy@brownragfilms.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
>> Have you checked $_SERVER['HTTP_HOST'] and $_SERVER['SERVER_NAME']?<br>
<br>
Thanks for the suggestion. Unfortunately, that didn't work.<br>
<br>
When the user goes to either "<a href="http://domain1.com" target="_blank">domain1.com</a>" or "<a href="http://domain2.com" target="_blank">domain2.com</a>" he or she<br>
is redirected (with URL masking) to "<a href="http://pmwikihost.com" target="_blank">pmwikihost.com</a>". Instead of<br>
returning "<a href="http://domain1.com" target="_blank">domain1.com</a>" or "<a href="http://domain2.com" target="_blank">domain2.com</a>", those two variables return<br>
"<a href="http://pmwikihost.com" target="_blank">pmwikihost.com</a>". But I want the domain name that the user typed -<br>
for example, "<a href="http://domain1.com" target="_blank">domain1.com</a>".</blockquote></div><br>How is the "URL masking" done?<br clear="all"><br>-- <br>Kartik Mohta<br>A: Because it messes up the order in which people normally read text.<br>
Q: Why is top-posting such a bad thing?<br>