Re: Unable to use exec() in php

From: Date: Mon, 18 Jun 2007 14:59:27 +0000
Subject: Re: Unable to use exec() in php
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-257300@lists.php.net to get a copy of this message
On 6/18/07, MIKE YRABEDRA <lists@323inc.com> 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@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^)> -- 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

« previous php.general (#257300) next »