Figured part of it out. I tried it on my local computer running phptriad, it worked fine. When i try i on my server running windowsNT it runs into the problem. Any ideas on why this would happen?
Andy wrote:
Hi-
I am having a problem creating a cookie from a variable value. Here is my code
setcookie("username",$username);
It won't create it for some reason. I've tried setting expire date too. However, when I actually type in a value for the $username it works.
setcookie("username","my_user");
This works! Why won't the other one work? Is it something simple I'm missing?
Thanks for the help
-Andy