PDA

View Full Version : User login using PHP




cwesty
Jan 8, 2006, 11:27 AM
Evening all,

I'm trying to create a members area for a site i've recently finished.
Does anyone know a good site for the code for this kinda thing, or do you know if this is a difficult task?

Cheers...



Mitthrawnuruodo
Jan 8, 2006, 11:31 AM
I recommend the PHP bible (http://www.amazon.co.uk/exec/obidos/ASIN/0764549553/qid=1136741278/sr=8-2/ref=sr_8_xs_ap_i2_xgl/202-8051986-4902237), they have sample code for user registration (with mail confirmation) and login. All the sample code from the book is available online.

If you don't want a book, try php.net (http://www.php.net/), they have lots of examples. Here's one: http://no2.php.net/features.http-auth

:)

cwesty
Jan 8, 2006, 11:33 AM
nice one, cheers. I'll take a look.

littlejim
Jan 8, 2006, 01:51 PM
hotscripts.com - User Authentication (http://www.hotscripts.com/PHP/Scripts_and_Programs/User_Authentication/index.html)

hotscripts.com - User Management (http://www.hotscripts.com/PHP/Scripts_and_Programs/User_Management/index.html)

http://www.phpclasses.org/

Maybe those sites can give something of use?

superbovine
Jan 8, 2006, 04:16 PM
http://www.zend.com/zend/tut/authentication.php?article=authentication&kind=t&id=4103&open=1&anc=0&view=1