
June 27th, 2000, 11:41 PM
|
|
Contributing User
|
|
Join Date: May 2000
Posts: 32
Time spent in forums: < 1 sec
Reputation Power: 14
|
|
|
To expand upon what the previous member mentioned vaguely, you'd have to set the directory for your cookie if you want it to appear over your entire website. To set your cookie, you'd use:
setcookie("weather",$location,time()+14400,"/","www.myurl.com");
If you don't add in the last two variables, the cookie won't be recognized anywhere but in the directory you set it in...perhaps this is your problem. Not enough detail to determine. :-/
|