I’m trying to run an app via php but I can’t find a way to pass the parameters required to make it work because they contain multiple double quotes.
I can start the app and display the output with this code:
Code: Select all
<?php $myCmd = 'c:\\xampp\\htdocs\\tuo\\tuo.exe '; $result = exec($myCmd,$output); var_dump($output);
is it possible to pass that string as a parameter with exec()? if not, is there another way to get what I want?tuo "Cyrus, Medic, Revolver, Imperial APC, Medic, Imperial APC" "Mission #94" pvp random fund 0 climb 10000 dom-owned