I tried a code from another question and it didn't work.
<?php
$ref = $_SERVER["HTTP_REFERER"];
echo "Referrer = $ref";
?>
What is wrong with code? All it displays is "Referrer = "
I tried a code from another question and it didn't work.
<?php
$ref = $_SERVER["HTTP_REFERER"];
echo "Referrer = $ref";
?>
What is wrong with code? All it displays is "Referrer = "
When you clicked from another link $_SERVER["HTTP_REFERER"]
can initialize.