Originally Posted by unikorndesigns
i just found that c language is pretty fast and it would be great if u could show me an example of executing a c program using php! I tried googling it, but nothng seemed to work.
|
http://us3.php.net/manual/en/function.shell-exec.php
PHP Code:
<?php
$output = shell_exec('ls -la');
echo "<pre>$output</pre>";
?>
Also, see this thread:
http://talkfreelance.com/showthread.php?t=80592