Re: Package proposal: Unique
| From: | cagrET | Date: | Tue, 24 Jun 2003 15:39:28 +0000 |
| Subject: | Re: Package proposal: Unique | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-17668@lists.php.net to get a copy of this message | ||
> What is difference from using the DB/MDB sequences or using php's
uniqid()?
sequences ? i dont generate ID for my record (news for example) , i generate
random unique ID
or maybe i dont understand how sequences work
Those uniq_id's are holded in unique_id table for some time - because user
can refresh page after some time
you can also avoid this by using redirect(), but this doesnt help if user
clicks few times on submit button
>> or using php's uniqid()?
hmm ? how ?