Return to Snippet

Revision: 43960
at April 4, 2011 09:30 by alexeihidalgo


Initial Code
<?php
if(isset($_COOKIE['comment_author_'.COOKIEHASH])) {
    $lastCommenter = $_COOKIE['comment_author_'.COOKIEHASH];
    echo "Welcome Back ". $lastCommenter ."!";
} else {
    echo "Welcome, Guest!";
}
?>

Initial URL


Initial Description


Initial Title
Display a welcom backmessaege in WP

Initial Tags
wordpress

Initial Language
PHP