get cookie value stored in cookiejar php code example Example: get a cookie in php <?php echo 'Hello ' . htmlspecialchars($_COOKIE["name"]) . '!'; ?>