01-21-2012, 06:26 AM
Hello,
I just made a login system. But I want to give users the ability to view pages that is for admin only. I tried a cookie, but I got this error:
Does anyone has a better method ? I was thought session is a good way. Should I use $_SESSION ?
I just made a login system. But I want to give users the ability to view pages that is for admin only. I tried a cookie, but I got this error:
PHP Code:
Warning: Cookie names cannot contain any of the following '=,; \t\r\n\013\014' in /home/crystal/public_html/hwid/admin.php on line 17
Does anyone has a better method ? I was thought session is a good way. Should I use $_SESSION ?