View Full Version : Working on admin cp

03-25-2010, 10:09 AM
I'd like to make a admin control panel for my website that will protect very important links/forms and what not. What is the best way to go about this? I looked at some JS codes but I also read that people can just disable javascript and get to the page anyhow.

03-25-2010, 10:25 AM
Jou can't with js. You do this server side. After you login as admin (store that in session variable), than you can on each page decide if you show it only to admin.