PHP programming with beagle bone , how to receive a variable

Asked

Viewed 41 times

0

I am making a web server using Beaglebone black, I would like to know how to receive a variable on the web server and access it locally in a C program on Beaglebone .

  • You may have misinterpreted your question by that one comment, but you can try to use the functions system or exec and with them call via PHP your C program something like exec("d:/programa.exe $valor1 $valor2", $output); print_r($output);

  • If you’re wearing it CGI, your program receives values through the Environment.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.