This is a discussion on "Login Script Problem" within the PHP Forum section. This forum, and the thread "Login Script Problem are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Login Script Problem
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Login Script Problem
Hello everyone well i have a login script and i want to set certain level i am a total beginner at php so dont know 1 thing about it for example
but if it would be easier to start a New Login script to howz you know then That will be fine 2 U = User A = Admin M = Moderator G = Guest so if there not registered they show up as a guest as and as i am Admin of the site i want to have the permission where some one registers and if i know them and they are good to the site then i will concider putting them M = Moderator Please can anybody help and also some of the pages to be protect areas and when they login they can view the pages which was protected. Thanx Aaron Last edited by Aaron1988; Nov 18th, 2006 at 21:12. |
|
|
|
|||
|
Re: Login Script Problem
If your an absolute beginner at PHP, this is too far.
You could have a 'permission' field in your DB, values 0-3 (Guest, User, Mod, admin) Pages then would be like:
|
|
|||
|
Re: Login Script Problem
ok thanx - 4 the replies but i will try and figure something out cause i wanna learn php but its hard lol
|
|
||||
|
Re: Login Script Problem
It is an important programming language to learn, but if I were you I might consider buying what you are wanting from someone who has already made it.
|
|
|||
|
Re: Login Script Problem
There are also plenty of freebie login scripts out there which can be easily found on Google, some come with entire tutorials as well so that's sometimes a good place to get started. PHP is a language like any other (english, german), follow the structure, the commands and out pops understandable entities
|
![]() |
| Tags |
| login, register |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| login script | mbarr | Databases | 13 | Mar 12th, 2008 03:39 |
| login script help | Aaron1988 | PHP Forum | 2 | Oct 25th, 2006 15:03 |
| Simple PHP login script help | Aaron1988 | PHP Forum | 7 | Aug 23rd, 2006 23:38 |
| PHP Login script advice | chimp | PHP Forum | 1 | Dec 21st, 2005 17:16 |
| client login script? | godonlyknows | PHP Forum | 6 | Jul 23rd, 2005 17:47 |