<?php

setcookie("username", "Raju", time() + 3600);

echo "Cookie has been set. <a href='get_cookie.php'>Click here to go to next page</a>";

?>

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: