ok, im having some trouble with reading cookies.
This code is in a page called set.php in http://sam/shit4brains/admin
setcookie("loggedin","true",time()+1209600);
setcookie("username",$usernames,time()+1209600);
setcookie("password",$userpass,time()+1209600);
another page called cookie_check.php in the same folder reads the cookies fine.
But i also want another page to read the same cookies, but its not in the same folder. and it wont read them!! its in
http://sam/shit4brains/resource_center
how can i get it to work??