I\'m attempting to write a program that will generate a text file with every possible permutation of the alphabet from one character up to twenty-nine characters. I\'ve chosen 2
Using PHP's Perl-style character incrementing.
set_time_limit(0); $perm = 'A'; $endTest = str_repeat('Z',28).'A'; while ($perm != $endTest) { echo $perm++,"\n"; }
Run the script from the command line so you don't hit a webserver timeout; then sit back and wait a few years for it to complete