Re: PHP, MYSQL and persistant authentication
Hi , u can try this one out http://www.zend.com/zend/tut/tutorial-delin4.php Regards Eric === Kamara Eric Rukidi Mpuuga Computer Frontiers International Plot 32 Lumumba Avenue P.O Box 12510,Kampala Tel :256-41-340417/71 Mob :256-71-190856 Email:[EMAIL PROTECTED] Web :http://www.cfi.co.ug On Sat, 14 Jun 2003, sgannon60 wrote: Hi, Does anyone know of a good tutorial on setting up a login page, and passing the login primary key to other pages so that other tables will be able to refernce the unique login thanks steve -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED] -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
RE: PHP, MYSQL and persistant authentication
You need to create a cookie session using start_session() and something like that. I'm actually reading up on it on this book PHP MySQL Web development - luke welling Laura thomson (i think) Cheers, Mun Heng, Ow H/M Engineering Western Digital M'sia DID : 03-7870 5168 -Original Message- From: sgannon60 [mailto:[EMAIL PROTECTED] Sent: Saturday, June 14, 2003 8:08 AM To: [EMAIL PROTECTED] Subject: PHP, MYSQL and persistant authentication Hi, Does anyone know of a good tutorial on setting up a login page, and passing the login primary key to other pages so that other tables will be able to refernce the unique login thanks steve -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
RE: PHP, MYSQL and persistant authentication
Use sessions in PHP (super simple, just call session_start() at the top of every page i.e. like in an include file) and use $_SESSION['loginname'] I would strongly recommend using mod_auth_mysql for your authentication. It's easy and probably more secure than anything you can write ;-) Plus it lets users bookmark pages without you having to handle that sort of thing. -Original Message- From: sgannon60 [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 5:08 PM To: [EMAIL PROTECTED] Subject: PHP, MYSQL and persistant authentication Hi, Does anyone know of a good tutorial on setting up a login page, and passing the login primary key to other pages so that other tables will be able to refernce the unique login thanks steve -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/mysql? [EMAIL PROTECTED] -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
PHP, MYSQL and persistant authentication
Hi, Does anyone know of a good tutorial on setting up a login page, and passing the login primary key to other pages so that other tables will be able to refernce the unique login thanks steve -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]