spec
Posts: 5
|
Posted: 08/26/2007, 9:31 AM |
|
Please I need to know how to generate some codes (numeric or alphanumeric) randomly, store them in a database, and anytime the codes are used to access a record, the log (usage) will be displayed and the numbers or these access codes generated will have a maximum number of times it will be used, and also these access codes cannot be used to access multiple database records.
Mail me atjemsenator@yahoo.com orspec.ng@gmail.com
Thank u
_________________
Living for God |
|
|
mamboBROWN
Posts: 1713
|
Posted: 08/26/2007, 5:30 PM |
|
spec
What scripting language/database are you using?? Also, have you searched the forums to see if anyone else has asked the same questions??
|
|
|
spec
Posts: 5
|
Posted: 08/27/2007, 4:50 AM |
|
Yes I have searched but none, Please I need to finish this project in order to graduate.
I need your help
Thanks
_________________
Living for God |
|
|
mamboBROWN
Posts: 1713
|
Posted: 08/27/2007, 8:32 PM |
|
spec
What does your test environment consist of?? PHP? ASP? JAVA? MySQL? MSSQL? ORACLE?
|
|
|
spec
Posts: 5
|
Posted: 08/28/2007, 4:05 AM |
|
my test environment is php
ms access database
_________________
Living for God |
|
|
mamboBROWN
Posts: 1713
|
Posted: 08/28/2007, 7:54 AM |
|
spec
Here are some things to look at.
- Can you use the autonumber feature in MSACCESS?
- GUIDs in ACCESS link: http://support.microsoft.com/kb/q197916/
- PHP methods/ideas you might be able to use. Links:
- http://us3.php.net/uniqid
- http://www.phpfreaks.com/quickcode/How_to_Generate_a_Un..._Numbers/17.php
- http://php.about.com/od/security/p/unique_id.htm
|
|
|