Hey Mr Bee, why you buzzing around? Chill. 7 hours isn't cause for a bump.
Anyway,
A reload could be stopped with a ref to $_SERVER['HTTP_REFERER']. A reload will result in no referer being set. Try this:
if(isset($_SERVER['HTTP_REFERER'])){
echo $_SERVER['HTTP_REFERER'];
}else{
echo "no ref";
}
Caveat: HTTP_REFERER isn't the most secure way of checking the referring page.
diafol
Rhod Gilbert Fan (ardav)
7,792 posts since Oct 2006
Reputation Points: 1,170
Solved Threads: 1,080