Re: Unable to use exec() in php
| From: | MIKE YRABEDRA | Date: | Mon, 18 Jun 2007 14:40:55 +0000 |
| Subject: | Re: Unable to use exec() in php | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-257293@lists.php.net to get a copy of this message | ||
Is there a special way to allow only a specific user to execute the
system_exec() and exec() calls?
on 6/18/07 10:31 AM, Daniel Brown at parasane@gmail.com wrote:
> On 6/18/07, Crayon Shin Chan <crayon.shin.chan.uk@gmail.com> wrote:
>> On Monday 18 June 2007 13:15, makhan wrote:
>>
>> Stop top posting.
>>
>>> I am also using shell_exec('matlab -r myscript') to run
>>> my matlab script.
>>
>> Using shell_exec('matlab -r /path/to/myscript') would be a better idea.
>>
>> --
>> Crayon
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>
> <?
> exec('date 2>&1',$ret);
> echo $ret."\n";
> ?>
--
Mike Yrabedra B^)>