View Full Version : Admin Panel
01-19-2012, 06:10 PM
Hi, I am new to this site.
I want to make an Admin Panel with a login panel and which can edit text from a website I have done.
Can anyone give me any tips or codes to use?
01-19-2012, 06:39 PM
This is such a vague question.
You need a page with a form that accepts a username and password. Then you need to select that username from the database and check it's password matches.
IF it does, log them in! EG set a variable somewhere either in the DB or the session so that other scripts know that the user is valid and may continue.
Then you need another page with your text editor. If you want html text then I suggest you look at ckeditor (google).
Finally you need a link to click for a logout - which will clear that variable you set earlier.
01-19-2012, 09:28 PM
Admin panels are easy to make. Have you started on it at all?
01-21-2012, 11:44 AM
No, I haven't started at all.
I would like to login for example www.nameofsite/Admin and a form appears (asking for email address and password) and button (login).
Once you're logged in Click on a link ex. Edit 'Home Page' which appears with a text area with the current text, so if I want to changed I would change the text and click on a button save.
Know any tutorials or php codes?
01-23-2012, 02:13 PM
First you will need to build a login form, a check login file, and a redirect to an admin.php file.
This is a great one for beginners and it's what I started on. It's not very secure, it's quite simple, but it works and you can understand the basics of it.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.