View Full Version : User login using PHP
Jan 8, 2006, 12:27 PM
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?
Jan 8, 2006, 12:31 PM
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
Jan 8, 2006, 12:33 PM
nice one, cheers. I'll take a look.
Jan 8, 2006, 02: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)
Maybe those sites can give something of use?
Jan 8, 2006, 05:16 PM