Trip-codes
Name:
Anonymous
2007-08-15 9:47
ID:rAGjFXj3
What's a good way to generate trip codes like 4chan uses? Taking the user IP as an argument.
Name:
Anonymous
2007-08-15 10:02
ID:RFdwMX2d
>>1
see the recent thread about Lambda the ultimate random number generator
Name:
Anonymous
2007-08-15 10:04
ID:Heaven
DES, MD5, Blowfish, etc., noob.
Name:
Anonymous
2007-08-15 15:52
ID:rAGjFXj3
what if i don't want a random number, a rand string rather like 4chan generates?
Name:
Anonymous
2007-08-15 16:58
ID:PRehCx2s
>>4
a string is a number.
Name:
Anonymous
2007-08-15 20:27
ID:PbAq9h0f
>>5
And a number can also be represented by a string
Name:
Anonymous
2007-08-15 22:08
ID:RT1QbLAv
>>6
>>5
they're both lambdas
Name:
Anonymous
2007-08-16 6:16
ID:4EnfVJGx
Name:
Anonymous
2007-08-16 7:22
ID:gPNmECEa
ZEROES AND ONES MOTHERFUCKERS
Name:
Anonymous
2007-08-16 11:11
ID:O6V95wFO
>>9
zeros and ones are just lambda
Name:
Anonymous
2007-08-16 13:23
ID:Heaven
>>10
lambda is just S and K
Name:
Anonymous
2007-08-16 13:37
ID:O6V95wFO
>>11
nope, S and K are just lambda
Name:
Anonymous
2007-08-16 14:02
ID:Heaven
Name:
Anonymous
2007-08-16 14:09
ID:O6V95wFO
Name:
Anonymous
2007-08-16 14:34
ID:Gx4ZwWPX
Name:
Anonymous
2007-08-16 22:42
ID:pB93r/2b
>>1-16
same fuckin person
Name:
Anonymous
2007-08-17 8:37
ID:Heaven
OP is fucking retarded.
Name:
this
2008-06-08 18:50
this is strange.
Name:
Anonymous
2008-06-08 19:17
tripcodes aren't random idiot
Name:
Anonymous
2008-06-08 20:08
SAUCE
Name:
!WokonZwxw2
2008-06-08 20:30
;_;
Name:
Anonymous
2008-06-08 22:40
EXPERT TRIPCODE GENERATOR
<?php
$ALPHABET = "0123456789!ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
function tripcode($ip) {
$ip = "127.0.0.1";
$salt = date();
$crypt = crypt($ip, $salt);
$trip = "";
for(int i=0; i<strlen($crypt); i++) {
int idx = ((int) $crypt[i]) % strlen($ALPHABET);
$trip .= $ALPHABET[idx];
}
return $trip;
}
?>
You wanted random characters, you got them
Name:
Anonymous
2008-06-09 7:24
I hai, I fixed ur for-loop.
for($i=0; $i<strlen($crypt); ++$i) {
$trip .= $ALPHABET[ord($crypt[$i]) % strlen($ALPHABET)];
}
Name:
Anonymous
2008-06-09 8:21
why wont you people ever realise that interpreted codes suck?
Name:
Anonymous
2008-06-09 11:01
Name:
Anonymous
2009-02-14 7:54
lolz
Name:
!eERGQ6t5UI
2009-02-15 20:51
test
Name:
!pRimEj1hcY
2009-02-15 20:52
test
Name:
!primEaOaqQ
2009-02-15 20:56
test
Name:
Optimus
!primEaOaqQ
2009-02-15 20:58
test
Name:
Optimus
!pRimEvMpwo
2009-02-15 21:00
test
Name:
!YT28S.0pmg
2009-02-16 0:03
-
Name:
!z/prog/isc
2009-02-16 0:37
>>32
why do you idiots keep bumping threads like this?
Name:
Anonymous
2009-02-16 1:08
test
Name:
!DQN///pQps
2009-02-21 18:18
sagetest
Name:
Anonymous
2009-02-21 18:20
Sage is only effective on Shiichan when by itself :(
Name:
Anonymous
2009-02-21 19:11
[mquote] > f? [/mquote]
Name:
Anonymous
2009-03-06 12:24
Ones for someone who prefers studying and learning to competing for social dominance which can unfortunately cause the downward spiral into social.
Name:
!jQlx5.kpJU
2009-04-12 20:49
d
Newer Posts