Re: Unable to use exec() in php

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/18/07, MIKE YRABEDRA <lists@xxxxxxxxxx> wrote:


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@xxxxxxxxx wrote:

> On 6/18/07, Crayon Shin Chan <crayon.shin.chan.uk@xxxxxxxxx> 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^)>

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



   Mike,

   This is technically thread hijacking.  You'll get a better
response (and less flames) if you start your own thread.

--
Daniel P. Brown
[office] (570-) 587-7080 Ext. 272
[mobile] (570-) 766-8107

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux