Password protected area of site (admin pages)

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

User avatar
Oleg Butuzov
Last Samuray
Last Samuray
Posts: 831
Joined: Sun Jun 02, 2002 3:09 am

Postby Oleg Butuzov » Mon Nov 18, 2002 7:52 pm

some ways to help you

1) coockies
2) sesions
3) protect in page

if ($user == "Pejone" && $password = "Pejonespassword")
{
//your page code here
} else {
//redirecting at the login page
}

4) read documentation about .htaccess at http://www.apache.org


I think last way will be good for you...

Return to “PHP coding => General”

Who is online

Users browsing this forum: No registered users and 3 guests