Linked Questions
13 questions linked to/from Generate random 5 characters string
-3
votes
2
answers
114
views
How to generate random number that must contains predefined characters? [duplicate]
In my application i need to generate random numbers that should contain certain character like capital letter, a number and of certain length.
It will be an honor if you guys help me out.
1
vote
0
answers
57
views
Saving image as jpg in php issue [duplicate]
Having code to display image like:
...
1031
votes
62
answers
1.9m
views
PHP random string generator
I'm trying to create a randomized string in PHP, and I get absolutely no output with this:
...
17
votes
3
answers
31k
views
Generating a unique random string of a certain length and restrictions in PHP?
I have the need to generate a random alphanumeric string of 8 characters. So it should look sort of like b53m1isM for example. Both upper and lower case, letters ...
1
vote
5
answers
13k
views
It's possible to set length on "UUID()"?
I use to generate unique & random string mysql function UUID(), it's possible to set length of this generated string? I need only 8 letters.
This insert i do ...
1
vote
3
answers
563
views
Generate random structured data with PHP
Im wondering how can I go on creating a random PHP value with similar structure as IPv6
Example: 2001:0db8:85a3:0042:1000:8a2e:0370:7334:nc21
I could use ...
0
votes
4
answers
1k
views
5-digit unique/random/unpredictable alpanumberic id for eCommerce with min.10k id's,is this ok?
Can anyone specify the possibilities of -
Randomness?
Unique?
Safe and Secure to use?
User shouldn't identify the next generation number or previous one? from this
substr(str_shuffle(str_repeat("...
1
vote
3
answers
1k
views
Combine random letters and numbers
Does any of you know how to add random letters aswel as random numbers.
thanks for you help.
...
0
votes
3
answers
294
views
Random string in PHP not enough characters [duplicate]
I'm trying to make some random string in PHP with 5 letters/numbers.
It's working fine but sometimes I get a shorter string.
...
-4
votes
1
answer
498
views
Generate random code with PHP [closed]
I want to generate a code randomly with php. The length should be 5 alphanumeric chars.
But I want the first value to be A-Z. How can I do that?
I've done the following, but this seemed too obvious ...
1
vote
1
answer
603
views
Could not generate 6 digit random number including date time using PHP
I need one help . I need to generate random number including date and time using PHP. I am explaining my code below.
...
-1
votes
3
answers
156
views
Iterate through n bit chunks of a byte string
I have a code like this:
...
0
votes
0
answers
215
views
Obfuscate a MySQL table's IDs using a MySQL-only solution and generate UNIQUE values
I need to obfuscate a MySQL table's IDs using a MySQL-only solution (no application code like PHP), and generate UNIQUE values.
Here's what I have managed to get working (using a MySQL trigger to ...