How to set cookie in php?
Set cookie in php
setcookie('otp', $otp, time()+62208000, '/', $_SERVER['HTTP_HOST']); //otp is the cookie name here
POST COMMENTS
HOME / BLOG / BLOG-POST
How to set cookie in php?
setcookie('otp', $otp, time()+62208000, '/', $_SERVER['HTTP_HOST']); //otp is the cookie name here