setcookie( "vegetable", "artichoke", time()+3600, "/","rntsoft.com", 0 );
?>
Setting and Printing a Cookie Value
if ( isset( $_COOKIE['vegetable'] ) ) {
print "Hello again, your chosen vegetable is ";
print "{$_COOKIE['vegetable']}
";
} else {
print "Hello you. This may be your first visit
";
}
?>