Execute a Application On The Server Using PHP
Posted
by Nathan Campos
on Stack Overflow
See other posts from Stack Overflow
or by Nathan Campos
Published on 2010-05-03T21:42:28Z
Indexed on
2010/05/03
21:48 UTC
Read the original article
Hit count: 352
I have an application on my server that is called leaf.exe
, that haves two arguments needed to run, they are: inputfile
and outputfile
, that will be like this example:
pnote.exe input.pnt output.txt
The executable is at exec/
, inputfile is at upload/
and outputfile is on compiled/
. But I need that a PHP could run the application like that, then I want to know:
- How could I do this?
- How could I
echo
the output of the program?
© Stack Overflow or respective owner