Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,158,282 members, 7,836,256 topics. Date: Wednesday, 22 May 2024 at 12:46 AM |
Nairaland Forum / Science/Technology / Programming / Pin Code Generation In Php (1834 Views)
Check My App Pin Pals Out / Online Shopping System In Php Documentation Help / Running Python Codes In Php (2) (3) (4)
(1) (Reply)
Pin Code Generation In Php by ajaxphp7: 6:14pm On Jun 25, 2010 |
<?php $color_red = rand(1314523242123221,424224243144133311); echo $color_red; ?> Please I am trying to develope a website that will demand at random generation of pin codes which will not be repeatable pls somebody help me out. I was given this code by a friend. I need contribution from you guys great programmers |
Re: Pin Code Generation In Php by Beaf: 8:02pm On Jun 25, 2010 |
Try com_create_guid() . It will give you a guid which is always a 32 character hexadecimal. Its fixed length and unique. <?php $uniqueId = com_create_guid(); echo $uniqueId ; ?> |
(1) (Reply)
I Need To Learn Programming Seriously / How To Register On Oyerr.com. / Please How Do I Install Nulled Xenforo Script On My Hosting Server?
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 4 |