Posted by Anze on 01/22/08 15:22
> $output = exec("tree_words.exe < $input", fgets(STDOUT)); Second parameter should be an array, you will get the output in it. For instance: $a=array(); $output = exec("tree_words.exe < $input", $a); var_dump($a); Or use passthru(). Be _very_ careful to validate $input variable!!!!!! Anze
[Reply to this message]
Copyright © 2005-2006 Powered by Custom PHP Programming