Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

179
Visualizações
is it possible to create a redirect page with diffrent content?

what i need is: create a redirect page with diffrent content (in same url) depending on source url where visitor come! for exemple :

  • Visitor X come from a href url www.example.com/page?u=target1.com
  • Visitor Y come from ahref url www.example.com/page?u=target2.com

the redirect page for both visitors X and Y is www.example.com/redirect-page but with different content for the visitor X a (button) with a href button to target1.com for the visitor Y a href (button) to target2.com (sorry for my bad english, i hope get the right answer )

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

  1. read the query parameter
       parse_str($_SERVER['QUERY_STRING'], $queries);
       $queries["u"] will be the target
    
  2. Store the target value in session $_SESSION["targetValue"] = $queries["u"]
  3. Redirect the user to /redirect-page/
  4. You can show/hide/render depending on $_SESSION["targetValue"]
about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda