Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

155
Vistas
Get origin url of 301/302 Forward in PHP/Javascript

I have a small question: from different domains, I'm forwarding via 301/302 to one distinct target domain.

On the target Server I have a running apache.

I need to know the origin Domain - so from which "source"-domain was the user forwarded to the target domain?!

Is this possible to achieve in PHP / Javascript?

Thanks in advance for your help and greetings from Germany

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Just add a URL Parameter in the redirection, e.g. [..].de/?h=origindomain.

Then you are able to readout the parameter with $_GET["h"].

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda