nonexistentera Posted September 19, 2008 Share Posted September 19, 2008 Hello there. I have a script that makes a permutation. ex. a b c aa ab ...and so on function md5this($length,$limit){ while ($length<$limit){ set_time_limit(0); $charset = "abcd"; for($i=0;$i<strlen($charset);$i++) $x[]=$charset{$i}; //Right below for($i=0,$z="",$e="echo ";$i<$length;$i++){ $z.="foreach(\$x as \$y[$i])"; $e.="\$y[$i]."; } $evalinsert = eval($z.$e."\"<br />\";"); //To Here $length++; } } I am wondering if anyone can help me changing the eval part. I am trying to keep everything nice and simple. and I also need to be able to insert it into MySQL and with how it is now I cannot do so. Any help is much appreciated. Link to comment https://forums.phpfreaks.com/topic/124890-any-help-converting-script/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.