PHP Cookies : setcookie
setcookie() defines a cookie to be sent along with the rest of the HTTP headers.
Requirement(s): PHP Server
Example:
<?php
setcookie("cookieuser", "username", time()+3600);
setcookie("cookiepass", "password", time()+3600);
print_r ($_COOKIE);
?>
setcookie("cookieuser", "username", time()+3600);
setcookie("cookiepass", "password", time()+3600);
print_r ($_COOKIE);
?>