PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
browsers do not always send a referrer header. there is absolutely nothing you can do about it.
it doesnt matter where they come from, even your own page, if the browser doesnt want to send it, it wont.
you simply cannot rely upon that variable being available.
but if your saying you cant get it to work after having tried using some diff browsers w/ no luck, then yeah its prob another issue. try using ie, and set its security settings low. it should work.
if your just trying to track user as they browse through your website, sessions and are an easy way, and are very reliable.
the things is that when i made a php program run aon a linux server i got it the REFERER ok!
but when i tried to do the same with php installed on my pc it didnt work
beacuse of that i thought its maybe a php/apache configure problem!
its a prebloem beacuse i want to know for example to which incorrect page (page that dosent exist)
and the apche automaticlly referer it to an error_page.php!!
and in the error page want to know from where ihave came!
how do i do that?thnaks in advance
peleg