Chrome Extension

Get and set cookie in PHP

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
We are a bunch of lazy programmers so we developed this chrome extension
search code from your favorite search engine
Install Now

In php, if you want to set a cookie you can use setcookie() function.

Was this helpful?
0 Comments
Open Code Manager We are hiring