Newer
Older
Import / web / www.xiaofrog.com / games / sudoku / sudoku.php
<?php
/*
    Sudoku Puzzle generator
    (C) Copyright 2007
    John Ryland <jryland@invertedlogic.com>

    ALL RIGHTS RESERVED
*/

$tmp = exec("uname", $uname);
if ( $uname[0] == "Darwin" ) {
    $tmp = exec("./sudoku-mac-x86", $possibles);
} else if ( $uname[0] == "Linux" ) {
    $tmp = exec("./sudoku-linux-x86", $possibles);
}
echo implode(" ", $possibles);
echo "\n";

?>