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

Password protected area of site (admin pages)

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

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...
Oleg Butuzov
Last Samuray
Last Samuray
 
Posts: 831
Joined: Sun Jun 02, 2002 3:09 am

Return to PHP coding => General

Who is online

Users browsing this forum: Google [Bot] and 2 guests

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