make cookies pph

Solutions on MaxInterview for make cookies pph by the best coders in the world

showing results for - "make cookies pph"
Anton
20 Feb 2016
1setcookie("cookiename", "cookievalue", time(), ".mydomain.tld", "/")
2
3// coookiename: The name of your cookie
4// cookievalue: The value of your cookie
5// Time: The expiration date of your cookie. If you plan to make a product for the EU, it's 13 months max.
6// .mydomain.tld: The domain that your webpage is using. You can only use the domain that the PHP file is on. Adding a dot before your domain will cover all subdomains.
7// "/": This is the folder where your cookie will apply. If you want a specific cookie for the /mySpecialSuperSecretPages folder, you have to set /mySpecialSuperSecretPages
8// Check the source for more options.