Blog

g sedou diusdfgudofgs dui

sjdg siudsoidfyisodf 

sdf as;dkf asdf
as 'd;f sd
 fsad\f as
d f
sdf 
sad
f s
df asdf jsgdfsadf
\ sdfsdf

Modify a Cookie Value

<?php
$cookie_name = "user";
$cookie_value = "Alex Porter";
setcookie($cookie_name, $cookie_value, time() + (86400 * 30), "/");
?>

<html>
<body>

<?php
if(!isset($_COOKIE[$cookie_name])) {
    echo "Cookie named '" . $cookie_name . "' is not set!";
else {
    echo "Cookie '" . $cookie_name . "' is set!<br>";
    echo "Value is: " . $_COOKIE[$cookie_name];
}
?>

© Copyright © 2008 - 2018 MLM Software Company All Rights Reserved.