[ create a new paste ] login | about

Link: http://codepad.org/1c0dXAma    [ raw code | output | fork ]

PHP, pasted on Aug 20:
1
2
3
4
5
6
7
8
9
10
11
12
13
<?php


setcookie("aaa");

if(!isset($_COOKIE["aaa"])) {
    echo "aaa is not set!";
} else {
    echo "aaa is set!<br>";
}
    

?>


Output:
1
aaa is not set!


Create a new paste based on this one


Comments: