I'm using $page = basename($_SERVER['HTTP_REFERER']) to find the page the user came from so it can be stored in a database. This works great in FF, but when I go to use IE it doesn't work at all, IE doesn't send the URL like FF does. I understand that HTTP_REFERER is based on what the user agent sends, but why doesn't IE work with this? Or is there a better way to get the page they came from as a php variable? Sorry, I know this is short if the question isn't clear let me know and I'll try and say it differently. Thanks.