Sr. PHP Programmer Question:
Download Questions PDF

Tell me how to set cookies in PHP?

Answer:

Setcookie("sample", "ram", time()+3600);

Download Senior PHP Programmer Interview Questions And Answers PDF

Previous QuestionNext Question
require_once(), require(), include(). What is difference between them?What is the difference between explode() and split() functions?