
May 3rd, 2000, 07:49 AM
|
|
Apprentice Deity
|
|
Join Date: Jul 1999
Location: Niagara Falls (On the wrong side of the gorge)
Posts: 3,237

Time spent in forums: 4 m 8 sec
Reputation Power: 17
|
|
|
You can't control browsers with a server side scripting language. IOW, no, you can't do that with PHP.
However, one thing you could try is checking the HTTP_REFERER and if it isn't from your domain, send a meta refresh to the browser with a target of top. That would run anytime someone links from outside your domain (or types in your domain directly). Just put a 1 second cycle on it so it doesn't take too long.
NOTE: I've never done the above so I make no guarantees ;-) Just an idea that popped in my head
|