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?

Re: cookies code

Check this thread...
http://punbb.org/forums/viewtopic.php?pid=24045#24045

Most people are other people. Their thoughts are someone else's opinions, their lives a mimicry, their passions a quotation - Oscar Wilde

3

Re: cookies code

okay. i downloaded my mirror, I have Winzip ok now how in the heck do i get started i read all the essiental things that i needed, i just need to know, please if you can help me step by step email it or post it here please.

Re: cookies code

demon riders: What do you want help with? If it isn't related to sanjay's topic here, post a new topic.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

5

Re: cookies code

ok, i will