Topic: cookies code
Hello im creating a script that uses the punnbb cookies and login system
I start the file with this:
---------------------------------------------
<?php
$pun_root = './';
require './include/common.php';
require './header.php';
?>
---------------------------------------------
And end it with
---------------------------------------------
<?php
require './footer.php';
---------------------------------------------
No i want to use if and else statements that use the cookie.
if
(cookie says that users is a guest)
echo "Please login to use this section"
else
all the scripts code
---------------------------------------------
Can you guys tell me where i can find this cookie information or how to what the code is?