<?php
session_start(); 

session_destroy();
echo "<script>alert('terima kasih, sampai jumpa');location.href='/'</script>";

?>