Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,151,550 members, 7,812,761 topics. Date: Monday, 29 April 2024 at 06:49 PM |
Nairaland Forum / Science/Technology / Programming / Pin Code Generation In Php (1827 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)
The 9 Most Demanded Programming Languages Of 2016 / Check Out Ways To Change Call Card To Money Instantly In Nigeria / Advanced Programming Techniques (java)
(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. 5 |