For using connection pooling in php use this http://sqlrelay.sourceforge.net/ I am working on this, not yet developed, but for any query contact me. I am using this for php4 and mysql5. ____________ 10x, | Ankur Dave | http://ullu.wordpress.com -----Original Message----- From: php-objects@xxxxxxxxxxxxxxx [mailto:php-objects@xxxxxxxxxxxxxxx] On Behalf Of Robin Sent: Monday, October 30, 2006 5:58 AM To: php-objects@xxxxxxxxxxxxxxx Subject: User registration in a DB Hi, I am creating a web application which involves users registering details in a DB. Obviously this is a very common thing to do and there seem to be many different ways to solve this problem. 1. Is there a way to do this without needing to hard code DB login details into the source? 2. Is it better practice to create individual DB users for new members when they register and use DB authentication, or should the DB connections all be through a single user and use code to check a table containing user name and password hash? 3. Is there a way to create a connection pool in PHP? Thanks, Rob PHP Data object relational mapping generator http://www.metastorage.net/ Yahoo! Groups Links The information contained in, or attached to, this e-mail, contains confidential information and is intended solely for the use of the individual or entity to whom they are addressed and is subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. www.aztecsoft.com PHP Data object relational mapping generator http://www.metastorage.net/ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-objects/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/php-objects/join (Yahoo! ID required) <*> To change settings via email: mailto:php-objects-digest@xxxxxxxxxxxxxxx mailto:php-objects-fullfeatured@xxxxxxxxxxxxxxx <*> To unsubscribe from this group, send an email to: php-objects-unsubscribe@xxxxxxxxxxxxxxx <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/