Answers for "In the function setcookie() what does the 3rd parameter specify?"

PHP
2

php set cookie

<?php
  $name = 'COOKIE_NAME';
  $value = 'VALUE';
  $expireTime = strtotime('+1 years');
  $path = '/';
  setcookie($name,$value,$expireTime,$path);
Posted by: Guest on December-09-2020

Code answers related to "In the function setcookie() what does the 3rd parameter specify?"

Browse Popular Code Answers by Language