header ile sayfayı yönlendirdikten sonra exit ile işlemi bitirin.

header('Location: giris.php'); 
exit;