|
PHP Login System with Admin Features
|
|
09-08-2010, 03:59 PM
(This post was last modified: 09-08-2010 05:42 PM by razvan.)
Post: #1
|
|||
|
|||
|
PHP Login System with Admin Features
First of all, I want to thank Jpmaster77 from this website http://www.evolt.org/node/60384. HE is the person that created the whole script and he said, and I quote,:
"I wrote this Login System for everyone for use on anything. If you would like to use it, please DO, because that's the whole purpose of it." Secondly, I wanted to post this tutorial, because I thought and I think that will be useful for someone. And I would like to consider this as a demonstration that I really want to support this forum and members from it and help them beyond disturbing them. Now, let's start the work! I have attached a .zip file that contains all the files you need for your Login System to work. In the next few lines, I would like to present you what each file has to do with the Login Process. After you unzip the archive the folder content will look like this: admin //This is the folder which is used JUST by the Administrators of the login system -admin.php //This is the design of the Admin Center -adminprocess.php //This contains all the process that an Admin does, such as Banning users or promoting them from Simple user to Admins include //This folder contains important data for this system to function accordingly -constants.php //This contains VITAL information, such as the MySQL database's name, or the password, but also the "From:" header for an e-mail -database.php //Contains all the processes that involves the MySQL, from deleting an user to entering new information -form.php //This keeps track for form things like memorizing the values and presenting the errors -mailer.php //This is used for sending welcome e-mails and Forgot Password e-mails. Here you can change the text of the e-mail you want to send to the user -session.php //This makes the Login session possible. It is the place where the username and password is checked and also where the texts of the errors could be edited. Also the Logout process is executed here. -view_active.php //This file is used to number the online users and to present them dbtables.sql //This contains the information to create the tables needed for this system. This should be the first process to do before uploading the files to your site. Otherwise, the Login System won't work. (For the curiousers, the function numrows() will not return any value, thing that disturbs the Login Process) forgotpass.php //How the name of the file says, this contains the processes for the Forgot Password part of this System main.php //This is, let's say, the INDEX of the Login System. From here everything starts process.php //This file administrates the all processes that take part at this System register.php //Contains the form and the information for the registration of the user useredit.php //This is the file that representes one of the features, a user have. (S)he can edit her/his information, like e-mail address or password userinfo.php //This is the file that will present the user information on his/her account This is a briefer look of what every file does. BUT DON'T WORRY!! Every file, every step starts with a small explanation, so you will easily understand the whole process. If you have any comments/questions regarding this Login System, post them here or you can PM me. Believe me, IT WORKS!!. I'm using it! Hope it helps, Razvan P.S. I want to repeat this: This is JPmaster77's job. I'm just presenting it, because I really like it. |
|||
|
09-20-2010, 03:22 PM
Post: #2
|
|||
|
|||
|
RE: PHP Login System with Admin Features
so i've created my database, set up db users and permissions, adjusted the constants.php, uploaded the structure to my www/cgi-bin/LoginSystem/ folder and i'm at a loss for how to test this out. I've tried browsing to "www.whatever.cc.co/cgi-bin/LoginSystem/main.php" and i'm getting a generic error occuring on the server side. Do i need to do something more?
|
|||
|
09-21-2010, 02:08 PM
Post: #3
|
|||
|
|||
|
RE: PHP Login System with Admin Features
Which is the error? Could you give me the website, so I can see how the LogIn System manifests?
If I helped you, and you appreaciate it, I will also appreaciate it if you give me some rep!
|
|||
|
10-19-2010, 10:55 AM
Post: #4
|
|||
|
|||
|
RE: PHP Login System with Admin Features
NO offence to be taken
But you dont put a PHP file in the cgi bin it for somestupidfile.cgi put everything from this login in script in your WEBSITE wwwroot so 0000free.com wwwroot is public_html
We have been given this life for a reason, that reason is to live it to the max and not let anyone put you down dont listen to what people say about you and you will have that great max life |
|||
|
04-02-2011, 06:39 AM
Post: #5
|
|||
|
|||
|
RE: PHP Login System with Admin Features
Nice tut...good work.
<short > <short> |
|||
|
04-20-2011, 04:39 PM
Post: #6
|
|||
|
|||
|
RE: PHP Login System with Admin Features
Is this a tutorial on how to create your own?
|
|||
|
07-23-2011, 08:26 AM
Post: #7
|
|||
|
|||
|
RE: PHP Login System with Admin Features
No, this tutorial, actually HAS a finished log-in system! but you can adapt it on your website
If I helped you, and you appreaciate it, I will also appreaciate it if you give me some rep!
|
|||
|
08-04-2011, 11:43 AM
Post: #8
|
|||
|
|||
|
RE: PHP Login System with Admin Features
euh... how do we test that ? Because, when i'm going to the admin or main.php, i see codes and html mixed...
|
|||
|
12-22-2011, 11:40 AM
Post: #9
|
|||
|
|||
|
Thank you... Nice JOB...
Please change the eregi(), it is deprecated in new php versions. Use preg_match... |
|||
|
« Next Oldest | Next Newest »
|
Search
Member List
Calendar
Help



