Sup, I was wondering how you make the cookies available across the whole site. I tried changing the last part of the setCookie to:
setcookie("xmbuser", $username, $currtime, "", ".punkcentre.com"
;
setcookie("xmbpw", $password, $currtime, "", ".punkcentre.com"
;
but it did not work.
If you goto and login with the username bob and password bob you will notice that it works fine.
If you goto then the cookies are displayed (the contents of this file is simply <? echo "user: $xmbuser<b>pw: $xmbpw"; ?>. I uploaded the same file to but the cookies are not displayed, therefore they have not been set across the whole site.
If you know how todo this I'd be very greatful as it's very important for my site. Thanx
setcookie("xmbuser", $username, $currtime, "", ".punkcentre.com"

setcookie("xmbpw", $password, $currtime, "", ".punkcentre.com"

but it did not work.
If you goto and login with the username bob and password bob you will notice that it works fine.
If you goto then the cookies are displayed (the contents of this file is simply <? echo "user: $xmbuser<b>pw: $xmbpw"; ?>. I uploaded the same file to but the cookies are not displayed, therefore they have not been set across the whole site.
If you know how todo this I'd be very greatful as it's very important for my site. Thanx