faqts : Computers : Programming : Languages : PHP

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

77 of 108 people (71%) answered Yes
Recently 4 of 10 people (40%) answered Yes

Entry

How can I add authentication to my site with PHP? I have authentication working only with one page.

Mar 15th, 2008 21:17
dman, ha mo, Philip Olson, Dee Lee, luke chasteen, http://www.ttnr.org


For user authentication, you can use sessions to keep track whether a user
is logged in or not, check out this faq :
    I'm new to sessions and cookies , where should I start?
    -------------------------------------------------------
    http://www.faqts.com/knowledge_base/view.phtml/aid/6621/fid/8
You can check out a few existing PHP authentication scripts, some of 
which are found here :
    http://hotscripts.com/PHP/Scripts_and_Programs/User_Authentication/