<?php setcookie("username", "Raju", time() + 3600); echo "Cookie has been set. <a href='get_cookie.php'>Click here to go to next page</a>"; ?>
To embed this project on your website, copy the following code and paste it into your website's HTML: