i was wondering how you generate all binary combinations of a string x long, eg
$x = 3
so it would generate
000 001 010 011 100 101 110 111
any ideas?
http://www.phpbuilder.com/board/showthread.php?s=&threadid=10228865