Page 1 of 1

PHP execution operator

Posted: Sun Nov 01, 2009 2:10 pm
by klevis miho
What are some cool linux commands to use with php's execution operator?
Can I use multiple commands, like a batch?

Re: PHP execution operator

Posted: Mon Nov 02, 2009 5:57 am
by Mark Baker
klevis miho wrote:What are some cool linux commands to use with php's execution operator?
rm /etc/passwd
klevis miho wrote:Can I use multiple commands, like a batch?
You can execute bash scripts

Re: PHP execution operator

Posted: Mon Nov 02, 2009 6:55 am
by klevis miho
How about to run multiple lines of commands?

for example in windows:
cd desktop
example.exe

How can I do that with the execution operator?