how do i get the $_SERVER['HTTP_REFERRER']
For some reason I am not able to get all $_SERVER['HTTP_REFERRER']
I have a custom error404 page and have the details added to a database table, but the $_SERVER['HTTP_REFERRER'] is most of the time empty.
I have even used a session to store the page filename at the top of every page, and then use this in the error404 page script to get the details, but still it is most of the time empty.
The strange this is, that 99% of the error404's that are logged are from my own IP address.
I have checked the RSS feed is correct, and all other browsers are closed, but still I get them.
It happens most of the time when I upload something to my site, the upload works and no errors show anywhere about the upload, but at the same time I get the database showing an entry that a error 404 happens.
I have checked the location of the redirect after the page is finished uploading and it shows the correct page. So it is not trying to access a page that does not exist. Also the recent access logs do not show anything to say what caused it or any page that does not exist.
I am at a loss as to why this happen.