Good Night,
This is a new version of URL-Shortener that don’t create random IDs to websites, it uses the auto-increment field and replace it to other base.
It was necessary to create two new methods
[code lang=”php”]
function convertDecimalTo($decimal,$newBase,$str,$letters) {
if ($decimal >= $newBase) {
$x = $decimal % $newBase;
$y = $decimal / $newBase;
$str = $letters{$x} . $str;
if ($y < $newBase) {
$str = $letters{$y} . $str;
}
return convertDecimalTo($y,$newBase,$str,$letters);
} else {
if (strlen($str) == 0) {
$str = $letters{$decimal} . $str;
}
return $str;
}
}
function convertBaseToDecimal($value,$newBase,$letters) {
$sum = 0;
$len = strlen($value);
$end = $len-1;
for ($x=$end;$x>=0;$x–) {
$sum = $sum + strpos($letters,$value{$x}) * pow($newBase,($end – $x));
}
return $sum;
}
[/code]
You can download the full new version to PHP4
URL Shortener (LURL) using auto increment field to generate the “TAG”
Hope you enjoy,
Matheus
maquinitas casino online gratis
Feel free to surf to my website: casinos en españa Requisitos
united kingdom roulette game download, no deposit bonus codes online casino registrieren (Fidelia) usa and
new zealandn free slots no download, or sun bingo uk
aplicaciones juegos De casinos craps (https://Cwinspear.com/estas-Interesado-en-jugar-giros-de-casino-nuevas-en-el-2026/) casino que te dan dinero por registrarte
https://thejocoxway.org.uk/author/develjgq6240/
jugador reglamento de ruleta casino blackjack que arruino un casino
jugar descargar slots casino sin depositar