Cookies
26/31
HTTP Headers
Cookies
Setting a Session Cookie
<?php setcookie
(
'user'
,
'david'
);
?>
Setting a Persistent Cookie
<?php setcookie
(
'user'
,
'david'
,
mktime
(
12
,
0
,
0
,
11
,
22
,
2003
));
?>