about the cookie problem again

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
tisa
Forum Commoner
Posts: 27
Joined: Fri Nov 28, 2003 1:14 am

about the cookie problem again

Post by tisa »

i have create 3 folder under htdocs folder,

they are: 'abc', 'def', 'ght' folders


after i create the cookie: setcookie("testing", "success", time()+3600)

i create a page for each folder to show the cookie value: testing
echo $_COOKIE['testing'];

i found that just 'def' folder can show testing's value, other two folder can't get the value!!!!

why?

someone can help me, urgent pls~~~
:(
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

Where is the cookie value set?

BTW - can't you just continue with your original topic instead of starting a new one on the same problem?

Mac
Post Reply