note 77941 added to function.system
| From: | rana_cse_05 at yahoo dot com | Date: | Thu, 20 Sep 2007 18:26:23 +0000 |
| Subject: | note 77941 added to function.system | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-130636@lists.php.net to get a copy of this message | ||
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".
----
Server IP: 69.147.83.197
Probable Submitter: 202.56.7.171
----
Manual Page -- http://www.php.net/manual/en/function.system.php
Edit -- https://master.php.net/note/edit/77941
Del: integrated -- https://master.php.net/note/delete/77941/integrated
Del: useless -- https://master.php.net/note/delete/77941/useless
Del: bad code -- https://master.php.net/note/delete/77941/bad+code
Del: spam -- https://master.php.net/note/delete/77941/spam
Del: non-english -- https://master.php.net/note/delete/77941/non-english
Del: in docs -- https://master.php.net/note/delete/77941/in+docs
Del: other reasons-- https://master.php.net/note/delete/77941
Reject -- https://master.php.net/note/reject/77941
Search -- https://master.php.net/manage/user-notes.php