running applications

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
ozmodiar
Forum Commoner
Posts: 35
Joined: Sat Jun 01, 2002 6:29 am
Location: Dublin, Ireland

running applications

Post by ozmodiar »

Does anyone know how to run applications or shells from a php script?

Any help is appreciated.

THANKS
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

yes the manual does ;)
User avatar
ulysse
Forum Newbie
Posts: 2
Joined: Fri Jun 07, 2002 2:56 am
Location: Lille, France

run applications

Post by ulysse »

There are several ways to run executable files:

Code: Select all

exec("command");
or

Code: Select all

system("command");
or with quotes:

Code: Select all

echo 'command';
Post Reply