Pregunta: | 12039 - REDIRECCIONADOR EN PHP |
Autor: | KEEF KEEF |
Como se puede redireccionar detectando el referer con php cuando varios dominios van a un solo hosting? en asp funciona de la siguiente manera..... <% url = Request.ServerVariables("SERVER_NAME") if url = "www.domain1.com" or url = "domain1.com" then response.redirect "http://www.domain.com/domain1/" end if Session.Timeout = 30 %> |