Is there any way to check if a user has cookie enabled on his/her browser using PHP?
A fast solution that I found is to set a temp. cookie and after that to check if the cookie is set. If not, the browser has cookie disabled.
Thanks
You answered your own question.
I was thinking if there is a function or something for this. I searched for it and I couldn't find.
There couldn't be just a "function or something" in PHP because PHP has no idea what the client can or will or can't or won't do until it asks. The only way to tell if the client will accept a cookie is to try it.
Thanks for your answers!