On Thu, Oct 25, 2012 at 5:32 AM, Maciek Sokolewicz
<maciek.sokolew...@gmail.com> wrote:
> On 23-10-2012 23:54, Steven Pogue wrote:
>>
>> Dan,
>> I assume you meant to add a system() call into it...if so, here is what
>> was presented.
>>
>> -rwxrwxrwx. 1 root root 3878 Sep  6 14:45 /opt/james-2.3.2/bin/sendmail.py
>> -rwxrwxrwx. 1 root root 3878 Sep  6 14:45 /opt/james-2.3.2/bin/sendmail.py
>>
>>
>> Steve
>>
> Hey Steve,
>
> first of all: don't top-post.
> Secondly: no, he didn't. Dan used the backtick operator (`) which is the
> same as calling system on its parameter.
>
> ie:
> `ls -l`
> is equal to writing
> shell_exec('ls -l')
>
> ( http://www.php.net/manual/en/language.operators.execution.php )

I have "lost" the backtick operator so many times, I've stopped using
it, using shell_exec instead.

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

Reply via email to