How to create and destroy a cookie in PHP?

setcookie(name, value, expire, path, domain, secure, http only) is used for creating a cookie.

setcookie() function with an expiration date in the past is used for deleting a cookie.

22-August 9:35 PM 540 Views

 Prev question

Next question