I have an application which records users visits. None of these visits are directly accessed, 100% of these visits are referred from another site.
I am passing
There are a couple of number of reasons why HTTP_REFERER
might be blank.
window.open
, window.location
and even setting target="_blank"
in anchors or meta refresh
.file_get_contents
, fopen
and other similar functions in other languages will probably not set a referer request.There are probably more situations when this could happen, I'll update if I can think of anything that seems reasonable.