RE: [PEAR-DEV] Package proposal: Unique

From: Date: Tue, 24 Jun 2003 15:19:59 +0000
Subject: RE: [PEAR-DEV] Package proposal: Unique
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-17666@lists.php.net to get a copy of this message
Hello cagrET, > Class provides methods to generate and hold unique ID's. > The aim is to avoid multiple same records in your database tables. > > 1. Generate unique ID > 2. Include it in your html FORM as post input etc > 3. Check if incoming ID is unique, If yes then add this ID to unique_id > table and add record What is difference from using the DB/MDB sequences or using php's uniqid()? greetings Daniel Khan

« previous php.pear.dev (#17666) next »