Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

179
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!