Hello,
This maybe a very easy question to answer. I am having trouble access data from the super global variables between two PHP Scripts. The two scripts are in differnet directories on my disk. In one script I use the setcookie() function to set two variables (usrname and password). In the other script I try to access these two variables via $COOKIE['username'] and $COOKIE['password'] but they are null. What could be going on? Scripts in the same directory as the script where I use the setcookie() function can read the _COOKIE vars. Also, when you use setcookie(), does that make your browser write the cookie to disk. I cant seem to find the cookie on my local drive.
Some versions:
I use IE6
PHP Version 4.2.3
Apache 1.3.27
Thanks for your help,
Richie