<?php $secret_word = 'salt-baked squid'; $id = 31415926; $hash = md5($secret_word.$id); setcookie('id',$id.'-'.$hash); ?>