Google News
logo
PHP - Interview Questions
How Setting Cookies with PHP ?
PHP provided setcookie() function to set a cookie. This function requires upto six arguments and should be called before <html> tag.
Syntax :
setcookie(name, value, expire, path, domain, security);
Advertisement