How to execute an external program in PHP

2 Answers

0 votes
echo exec('calc');

/*
run: 

open the caculator on windows  

*/

 



answered Jun 15, 2016 by avibootz
0 votes
echo exec('notepad');

/*
run: 

open the notepad on windows  

*/

 



answered Jun 15, 2016 by avibootz

Related questions

1 answer 186 views
1 answer 279 views
3 answers 295 views
...