Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

login for admin

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

login for admin

Postby doubleD » Mon Jul 15, 2013 12:21 am

i want to create a special password that only the web admin can use.But at the same time other public user also can log in to the same login page.The different between the admin is the next form.When the system detected admin username and password,it will the admin to a different page while the public user will login to other page.In the short term,after the login form,there will be 2 type of form.The question is how to make the system detect the admin password.
doubleD
New php-forum User
New php-forum User
 
Posts: 1
Joined: Mon Jul 15, 2013 12:13 am

Re: login for admin

Postby johnj » Tue Jul 16, 2013 2:31 am

to detect admin password make sure the user name is 'admin'
johnj
php-forum Super User
php-forum Super User
 
Posts: 1805
Joined: Thu Mar 10, 2011 5:07 pm


Return to PHP coding => General

Who is online

Users browsing this forum: No registered users and 2 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.