RE: [PEAR-DEV] Package proposal: Unique
| From: | Daniel Khan | Date: | Tue, 24 Jun 2003 16:16:34 +0000 |
| Subject: | RE: [PEAR-DEV] Package proposal: Unique | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-17672@lists.php.net to get a copy of this message | ||
Hello cagrET,
> > MDB and DB both support a way to get a unique ascending integer.
> > It's nearly like autoincrement keys in mySQL.
>
> but can i keep more than one ID in this sequence ?
Yes
> > http://www.php3.de/manual/en/function.uniqid.php
>
> hey, did u look at my code ?
> i know what is uniqid(), i use it there
> did u read carefully purpose of the package ?
I didn't crawl trough the class.
You asked I answered :)
Hm. I usually use timestamps or simple uniqid's stored with the data or
redirects (as you mentioned) to test
if someone has re-submitted the data.
O.K. I don't see much sense but maybe I don't understand
what it's really for.
So maybe anybody else has an opinion?
greetings
Daniel Khan