Answers

Question and Answer:

  Home  Senior PHP Programmer

⟩ How will you set cookies using PHP?

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);

 198 views

More Questions for you: