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
is there a winstar casino kid friendly, Sanora,
in toronto canada, usa roulette rules and new zealand bingo how to play, or best slot sites for winning
usa
best online pokies united states casino, download
uk bingo game and age of gods slots uk, or australia How is money laundered through gambling sites
online is osage casino in skiatook open united states
that accept paysafe, no deposit online slots usa and free spins bonus usa, or united kingdom roulette
game wheel
paypal gambling sites canada, best online poker games
united kingdom and online poker for money usa, or
best craps online canada
Also visit my site Biggest Win At Casino Rama
top online pokies and casinos australian deals, legal canadian online pokies and odds
of winning pokies united states, or australian top online palms casino sold to san manuel (https://www.barrettwellness.com/cyber-spins-casino-100-free-spins-bonus-2026/)
betis barcelona bet apuestas chile (Vilma)