Answers for "how acces a cookie php"

PHP
1

get a cookie in php

<?php
echo 'Hello ' . htmlspecialchars($_COOKIE["name"]) . '!';
?>
Posted by: Guest on October-01-2020
4

php cookie

setcookie ('name', 'value', $expiresOn, $path, $domain, $secure, $httponly)
Posted by: Guest on October-16-2020

Browse Popular Code Answers by Language