View Full Version : URL variable
In vb3 what is the valible i would use compare if a user is viewing my forum from this url or from that url.
Basicly, I want to make it that if you are useing www.abc.com view this, else view his.
i found out '$_SERVER[HTTP_HOST]'
Dean C
12-27-2004, 09:59 PM
The variable you're looking for is:
$_SERVER['HTTP_REFFERRER']
Bare in mind it's quite easy to spoof a browsers referrer so do not rely on this variable alone :)
The variable you're looking for is:
$_SERVER['HTTP_REFFERRER']
Bare in mind it's quite easy to spoof a browsers referrer so do not rely on this variable alone :)
No. The one I'm looking for is $_SERVER[HTTP_HOST]. I need to know what they are using NOW not were they came from.
Dean C
12-28-2004, 01:59 PM
Well your first post implied you were looking for the referrer, ah well good luck with whatever you are coding :)!
Well your first post implied you were looking for the referrer, ah well good luck with whatever you are coding :)!
Ok. Thanks anyways for your help.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.