Use shell_exec() command:
$output = shell_exec('/path/to/your/program'); // $output contains whatever program prints.
This is great. It makes possible writing C code for computation intensive part and pass result back to php.
Saturday, July 2, 2011
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment