כי שמת את המשתנה של הקוקיז בתוך גרשיים...
תשנה לזה:
PHP קוד:
<?php
setcookie("powername", $_COOKIE['powername'], time()-3600);
setcookie("powerpassword", $_COOKIE['powerpassword'], time()-3600);
?>
<script>
alert("! ")
location.replace("../../index.php")
</script>
<?
?>