Is there a way to identify the IP address of a web page from where the user comes from?
I wish to compare the originating web site with a list of authorized ones. If a match, allow access; if not, redirect to another location.
Thanks...
$REMOTE_ADDR server variable.
Be careful, if the user goes through a proxy, $REMOTE_ADDR will give the proxy's IP. See discussion in topic "detecting remote ip" earlier in this forum (2000-11-21 14:31:24).