Let's say I got this string: $str = 'ABCDEFGIJKLMNOPQRSTUVWXUZ123456789", and I want to echo a list of possible combinations, given a $length.
$length = 2;
=> A1, A2, A3, A4 ... 1A, 2A ... Z1, Z2, Z3 ...
$length = 5;
=> AAAA1, AAAA2 ... 1111A, 1111 ... ZZZZ1 ZZZZ2 ...
Thanks!