how to run exe file with php? why i cant use shell_exec? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

how to run exe file with php? why i cant use shell_exec?

22nd Jan 2018, 7:15 AM
aditia kusuma
aditia kusuma - avatar
2 Answers
+ 2
try this $txt = passthru('your command'); $txt contains the output command's, works great for me
22nd Jan 2018, 7:31 AM
Vincent
Vincent - avatar
0
thanks... give me example to make my command...
5th Feb 2018, 8:20 AM
aditia kusuma
aditia kusuma - avatar