Posted by Bryan Jackson
2015-06-08
Just asking again in case my add on reply got burred. I need to know if I can change the characters allowed form a-z,A-Z,0-9 to 0-9 only. Thanks
Posted by Tom
2015-06-09
Hi,
>I need to know if I can change the characters allowed form a-z,A-Z,0-9 to 0-9 only.
Open web/codelib/asc/cls_ps_aso.inc.php and check out
GenerateRandomShortUrl() function. Probably, you want to modify
the following lines:
>I need to know if I can change the characters allowed form a-z,A-Z,0-9 to 0-9 only.
Open web/codelib/asc/cls_ps_aso.inc.php and check out
GenerateRandomShortUrl() function. Probably, you want to modify
the following lines:
for ( $i = 0; $i < $n; $i++ )
{
$short_url .= chr(rand(97, 122));
}