note 77941 rejected from function.system by nlopess
| From: | nlopess@php.net | Date: | Thu, 20 Sep 2007 21:19:53 +0000 |
| Subject: | note 77941 rejected from function.system by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-130644@lists.php.net to get a copy of this message | ||
Note Submitter: rana_cse_05 at yahoo dot com
----
I tried this to compile a program by gcc using system()
<?
$command="gcc -o new new.c";
system($command);
?>
but it dosent work ! How can i compile any program using php+gcc ?
Note:I'm using Fedora-7,Apache2,PHP-5.1.1 and i was "root".