Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Don't need to login
#1
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:
PHP Code:
WarningCookie 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 ?
Reply


Messages In This Thread
Don't need to login - by Strafeness - 01-21-2012, 06:26 AM
RE: Don't need to login - by AceInfinity - 01-21-2012, 06:59 AM
RE: Don't need to login - by Strafeness - 01-21-2012, 08:03 AM
RE: Don't need to login - by AceInfinity - 01-21-2012, 08:06 AM
RE: Don't need to login - by Strafeness - 01-21-2012, 08:07 AM
RE: Don't need to login - by AceInfinity - 01-21-2012, 08:28 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [help] Improve login script Montana" 1 1,572 03-18-2013, 12:59 PM
Last Post: Haxalot
  Simple Login and Search nevets04 1 693 12-24-2009, 03:37 PM
Last Post: Gaijin

Forum Jump:


Users browsing this thread: 1 Guest(s)