setcookie()
It sends an HTTP cookie to a client
Example
<?php
setcookie(“time”,time());
echo $_COOKIE['time'];
?>
Output
1337938449
Beginner's Guide....
It sends an HTTP cookie to a client
Example
<?php
setcookie(“time”,time());
echo $_COOKIE['time'];
?>
Output
1337938449