RE: How to set cookies in PHP?

set cookies in php

dip Team Leader Asked on January 25, 2017 in PHP.
Add Comment
1 Answers

To set a cookie, just use  the function  setcookie() in your php script

 <?php Setcookie("sample", "dip", time()+3600);  ?> 

IT Head Answered on June 29, 2017.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.