I have develop a simple modal box and I added $_SERVER["HTTP_REFERER"]
so from specific referrer to do not appear. It works fine but the $_SERVER["HTTP_REFERER"]
is not working on Mozilla. Is there any other way to do this?
I am using the simple PHP code:
if ($_SERVER["HTTP_REFERER"] == "www.thedomain.com/article.php"){
//Code to do not show the modal box
}else{
//code to show the modal box
}