setcookie
<form method="POST" action="/cookie">
<input type="text" name="lolicon_cookie" />
<input type="submit" value="送信" />
</form>
<hr />
getcookie
<?php echo $mycookie; ?>