User Access In PHP
Posted: Thu Jul 14, 2011 8:33 am
Hi,
I am new to PHP and currently trying to develop a website. I have a few sections (pages) where Users must insert a Username and password to gain access to other pages. i want to use PHP for doing that.
e.g. loginstaff.htm - user has to enter Username & Password (this is being validated by a php script in login.php) to access staff.htm. I need the user to enter the proper Username & password used when registering and restrict any other people/user to type the URL directly (e.g. www.site.com/staff.htm).
Thanks
Munnabhaai
I am new to PHP and currently trying to develop a website. I have a few sections (pages) where Users must insert a Username and password to gain access to other pages. i want to use PHP for doing that.
e.g. loginstaff.htm - user has to enter Username & Password (this is being validated by a php script in login.php) to access staff.htm. I need the user to enter the proper Username & password used when registering and restrict any other people/user to type the URL directly (e.g. www.site.com/staff.htm).
Thanks
Munnabhaai