02.08.2005, 16:24
@ Pattex deine idee klingt gut ABER
ich hab ne Feste IP
wenn du also meine IP kennst kannste auchwieder rumfuschen ^^
EDIT
hab jetzt mit mein php profi geredet löl
er meint
3x..
User Tab
Session Tab
cookie
und die cookie ID soll eine checksumme aus a-z, A-Z, 0-9 sein.
[code=php]
function createCheckSum($length = 64) {
$chars = array(
"0","1","2","3","4","5","6","7","8","9",
"a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z",
"A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"
);
$ret = "";
for($i = 1; $i <= $length, $i++) {
$ret = $ret . $chars[rand(0, count($chars)-1)];
}
return $ret;
}
$checksum = createCheckSum(128);
[/code]
ich hab ne Feste IP
wenn du also meine IP kennst kannste auchwieder rumfuschen ^^
EDIT
hab jetzt mit mein php profi geredet löl
er meint
3x..
User Tab
Session Tab
cookie
und die cookie ID soll eine checksumme aus a-z, A-Z, 0-9 sein.
[code=php]
function createCheckSum($length = 64) {
$chars = array(
"0","1","2","3","4","5","6","7","8","9",
"a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z",
"A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"
);
$ret = "";
for($i = 1; $i <= $length, $i++) {
$ret = $ret . $chars[rand(0, count($chars)-1)];
}
return $ret;
}
$checksum = createCheckSum(128);
[/code]