NYCPHP Meetup

NYPHP.org

[nycphp-talk] generate random unique 8-digit number

Edward Potter edwardpotter at gmail.com
Tue Mar 10 11:15:35 EDT 2009


Well, it's easy.

Go down to Prince & Broadway, stop the first model that walks by, then the
next, etc.  Ask them for a random number.  Believe me you will NEVER get the
same number twice. And they will never repeat! All laws of Physics go
straight out the window. Even Einstein gave in.

Just my 2 rupee's

:-)

On Mon, Mar 9, 2009 at 9:56 PM, chad qian <nynj.tech at hotmail.com> wrote:

>  Hi,
> I need to generate random 8-digit numbers continuously.And no
> duplication among all those numbers.In other word,every single 8-digit
> number must be unique.How to do php programming?
>
> Thanks a lots!
>
> chad
>
> ------------------------------
> Express your personality in color! Preview and select themes for Hotmail®. See
> how.<http://www.windowslive-hotmail.com/LearnMore/personalize.aspx?ocid=TXT_MSGTX_WL_HM_express_032009#colortheme>
>
> _______________________________________________
> New York PHP User Group Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
>
> http://www.nyphp.org/show_participation.php
>



-- 
IM/iChat: ejpusa
Links: http://del.icio.us/ejpusa
Blog: http://www.preceptress.com/blog
Follow me: http://www.twitter.com/ejpusa
Karma: http://www.coderswithconscience.com
Projects: http://flickr.com/photos/86842405@N00/
Store: http://astore.amazon.com/httpwwwutopic-20
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20090310/2c8ecf92/attachment.html>


More information about the talk mailing list