Board index   FAQ   Search  
Register  Login
Board index PHP PHP General

Add a password to a web page

General discussions related to php

Moderators: macek, egami, gesf

Add a password to a web page

Postby ckwall » Fri Jan 17, 2003 8:00 am

How would I go about adding one password to one page?
ckwall
 

Re: Add a password to a web page

Postby WiZARD » Sat Jan 18, 2003 2:12 am

What do you mean password in a page?
User avatar
WiZARD
Moderator
Moderator
 
Posts: 1257
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol

Postby ckwall » Mon Jan 20, 2003 6:06 pm

I have over 50 pages of intranet info pages here on my network. I have built one administration page, and need to password protect it.

I would like to try to be able to have a very simple authentication script if possible, without having to incorporate a database, or some third party software. Just a log in page, and maybe a text file of some sort, like a windows .ini file
ckwall
 

Postby WiZARD » Wed Jan 22, 2003 7:51 am

in form you asking about password,
in php script you are coding by md5 function and compare with inf from file (for example myPass.word), if all not ok terminate.
User avatar
WiZARD
Moderator
Moderator
 
Posts: 1257
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol


Return to PHP General

Who is online

Users browsing this forum: No registered users and 1 guest

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

cron