Hi I'm trying to launch an application on my computer from my phone using a web server and PHP I'm using XAMPP on mac here is my PHP:
<?php echo shell_exec("/Users/gabepersaud/Desktop/test.app 2>&1");?>
this returns: "sh: 1: /Users/gabepersaud/Desktop/test.app: not found"
I believe my problem is that the command is executing on the server side and not locally. makdir works and I am able to create new folders on the server. Just not sure how to access local machine
Someone asked a similar question but I was unable to understand the solution: Run a script on a computer from php Any pointers would be greatly appreciated!