I've been searching for an answer for this for a long time now, but I can't get it.
I have nginx installed with php and wiringpi.
The wiringpi commands work.
I tried making a pinon.php and pinoff.php with system() function.
That works.
Now if I have a email.py function that sends data to my email and I want to run it, how do I do it threw web interface?
Thx