What's wrong with this code?
setcookie("password",$wachtwoord,0, "/", ".thedomainname.com");
echo $_COOKIE['password']; //shows nothing
I am attempting to set a cookie and display its value?
Are you waiting for the next request before you examine $_COOKIE ?
$_COOKIE[] with that new cookie will be available only with next request
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With