i´m alreday build my photobooth and now i want to do the next step of Engineering.
I´d like to start the Procedure with a Tablet/Smartphone. The most compability was given by using a PHP-Website for controlling the RPI.
That´s what i want to do:
Apache + PHP already installed on RPI and still working. The Capture.py already working to.
Now i need a way where i can execute a python-script by click a button/picture at the PHP-Website.
I read something about www-data permissions but everything i tried just ends that my raspian ist broken and have to reflashed by a saved image
The just thing i want to use i maybe the start.php who start the capture.py with admin-rights, because the rpi is working by ssh with an other pi and take control about them.
Can somebody give me an Example of simple Coding?