To delete a cookie in PHP, you can use the setcookie() function with an expiration date in the ______.

  • past
  • future
  • present
  • distant
To delete a cookie in PHP, you can use the setcookie() function and set the expiration date in the past. This causes the browser to discard the cookie, effectively deleting it. Additional information: http://php.net/manual/en/function.setcookie.php
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *