<?php
session_start();
$_SESSION['say']++;
if($_SESSION['say'] >=3) header("Location: http://www.yonleneceksite.com");
exit();
?>
Şöyle olabilir. Site sayfalarının üs kısmına eklemen gerek.