Welcome Guest, Not a member yet? Register   Sign In
getting subdomain url
#2

[eluser]bretticus[/eluser]
in plain ole php...

Code:
$host = $_SERVER['HTTP_HOST'];

From there you parse the url.


Messages In This Thread
getting subdomain url - by El Forum - 02-06-2010, 03:19 PM
getting subdomain url - by El Forum - 02-06-2010, 09:59 PM



Theme © iAndrew 2016 - Forum software by © MyBB