manual/en/features.cookies.php
ARCHIVED 2024-02-01, DATE APPROXIMATE · VERSION 20240201_rev01 · COMPARED WITH 20240101_rev01
Full text changes — 20240101_rev01 to 20240201_rev01
COLOUR MARKS THE SEVERITY OF A FLAGGED CLAUSE · + AND − MARK ADDED AND REMOVED
| 5 | 5 | For more details, including notes on browser bugs, see the [setcookie()](https://www.php.net/manual/en/function.setcookie.php) and [setrawcookie()](https://www.php.net/manual/en/function.setrawcookie.php) function. |
| 6 | 6 | |
| 7 | 7 | \-65 |
| 8 | 8 | |
| 9 | 9 | [**_codewithsudeep at gmail dot com_**](https://www.php.net/manual/en/features.cookies.php) [¶](https://www.php.net/manual/en/features.cookies.php) |
| 10 | 10 | |
| 11 | **9 months ago** | |
| 11 | **10 months ago** | |
| 12 | 12 | |
| 13 | 13 | `<?php // Example // Setting a cookie setcookie("usertoken", "noice", time()+20*24*60*60); // 20 days = 20*24*60*60 secondssetcookie("usertoken", "", time()-3600) ?>` |