setcookie(name, value, expire, path, domain, secure, httponly);
setcookie("CookieName", "CookieValue", 2147483647, "/"); //SET COOKIE THAT EXPIRES IN 2038
print($_COOKIE["CookieName"]); //USER FOR GETTING COOKIE
In php, if you want to set a cookie you can use setcookie() function.
0 Comments