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

175
Vistas
How do I capture the referrer from the root directory of the domain?

The default document for my website is index.php. If people visit my website www.MySite.com/ the referrer is empty when I look at it in my index.php file. If they visit www.MySite.com/index.php, the referrer is visible and I capture it with $_SERVER['HTTP_REFERER']. I know not every browser will forward the referrer.

How can I capture the referrer from the root directory if it exists?

over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

If the user entered the URL manually, or clicked a link from a favourite list in his browser, there is no referer. He literally came from nowhere :)

over 4 years ago · Santiago Trujillo 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