<?php if(strstr($_SERVER['REQUEST_URI'],"index.php") and $_GET["sayfa"] != 1){ header("Location: ornek.php"); } ?>