How will you set cookies using PHP?

Submitted by: Muhammad
PHP provided setcookie() function to set a cookie. This function requires upto six arguments and should be called before <html> tag. For each cookie this function has to be called separately.

setcookie(name, value, expire, path, domain, security);
Submitted by: Muhammad

Read Online Sr. PHP Programmer Job Interview Questions And Answers