otuatail Posted August 16, 2006 Share Posted August 16, 2006 I don't know if this would work but I have 2 domian names. I know I can add the second to my site as an alias. Would it be posible to test if the user went to[email protected] OR[email protected] If so I could set this site up as 2 websites using the same spacw AND the same MySQLdatabase.Desmond. Link to comment https://forums.phpfreaks.com/topic/17767-2-websites-for-the-price-of-1/ Share on other sites More sharing options...
otuatail Posted August 16, 2006 Author Share Posted August 16, 2006 Don't worry It's easy I just use the following$domain = $_SERVER['HTTP_HOST']; Link to comment https://forums.phpfreaks.com/topic/17767-2-websites-for-the-price-of-1/#findComment-75878 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.