<?php $referer=getenv("HTTP_REFERER"); if (ereg("^https://forum.vmeste.eu",$referer)) { header ("location: shmindex1.html"); exit; } else { header ("location: smindex2.html"); } ?>