Answers for "How many arguments we can pass in set cookie()? *"

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 "How many arguments we can pass in set cookie()? *"

Browse Popular Code Answers by Language