Welcome Guest, Not a member yet? Register   Sign In
subdomain and caching
#4

[eluser]narkaT[/eluser]
I would rather hardcore that, like in the initial post.
Otherwise an attacker could modify the host-header and inject a malicious url Wink

An alternative would be $_SERVER['SERVER_NAME'] but according to the manual the
subdomain has to be declared as an virtual host for that to work.


Messages In This Thread
subdomain and caching - by El Forum - 11-11-2008, 10:49 PM
subdomain and caching - by El Forum - 11-12-2008, 03:35 AM
subdomain and caching - by El Forum - 11-12-2008, 06:00 AM
subdomain and caching - by El Forum - 11-12-2008, 06:09 AM
subdomain and caching - by El Forum - 11-12-2008, 06:24 AM
subdomain and caching - by El Forum - 11-12-2008, 08:34 PM



Theme © iAndrew 2016 - Forum software by © MyBB