I’m trying to figure out where the user came from anddd am using
$referrer = substr(basename($_SERVER['HTTP_REFERER']), 0, strpos(basename($_SERVER['HTTP_REFERER']), "?"));
It seems to work when I
As I get
but when I view the source, I see
<b>Notice</b>: Undefined index: HTTP_REFERER in <b>C:\Users\lurtnowski\webserver\htdocs\DCT\2\furniture\position_furniture.php</b> on line <b>8</b>
What gives? Aren’t I using the function poroperly?