news-script/logout.php

5 lines
237 B
PHP
Raw Permalink Normal View History

2015-07-04 04:58:36 -05:00
<?php
setcookie("username", "", time()-86400, "/", ".tdreams.ppnhost.ws", 0);
setcookie("password", "", time()-86400, "/", ".tdreams.ppnhost.ws", 0);
echo "You are logged out now. <br> <a href=loginpage.php>Login as a new User!</a>";
?>