PHP execution operator

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
klevis miho
Forum Contributor
Posts: 413
Joined: Wed Oct 29, 2008 2:59 pm
Location: Albania
Contact:

PHP execution operator

Post by klevis miho »

What are some cool linux commands to use with php's execution operator?
Can I use multiple commands, like a batch?
Mark Baker
Forum Regular
Posts: 710
Joined: Thu Oct 30, 2008 6:24 pm

Re: PHP execution operator

Post 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
klevis miho
Forum Contributor
Posts: 413
Joined: Wed Oct 29, 2008 2:59 pm
Location: Albania
Contact:

Re: PHP execution operator

Post 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?
Post Reply