PHP ile çerezleri kurma ile garip bir sorun var. I sunucuya benim komut dosyası yükledi Her şey bu sabaha kadar para cezası çalıştı.
İşte benim kod kısmı
if (!isset($_COOKIE["loggedin"])){
show login form } else { show content }
Bu benim giriş sayfasında ise
setcookie("loggedin", "true", time()+3600,"/","mydomain.com");
I know using cookies for logins isn't the best practice but it's a dummy site. Any who... 'till this morning, the cookies worked properly, but now they won't. I had a similar issue before, but i can't remember how i solved it :(
Herhangi bir yardım çok takdir!