Posts by Tiago Meireles • 43 points
5 posts
-
1
votes2
answers734
viewsA: Pass value of a variable from an html page to a php file
I am using the following php code to try to print the value received in a function, and whenever in the system function ( "gpio pwm 1 $_SESSION['textgol1']" ); I change the value to the variable…
-
1
votes1
answer481
viewsQ: Read and change GPIO pin status of Raspberry Pi 3
I am doing a small project with a rRspBerry Pi 3 that consists, among other things, to control some outputs through a web page. I needed to be able to know and print on the page what the status of…
-
0
votes1
answer343
viewsQ: Difficulty updating global variable. c
I am developing the following code and I am using global variables that can be changed in different parts of the code, but when I change for example the state variable in the menu() function its…
-
1
votes2
answers734
viewsQ: Pass value of a variable from an html page to a php file
I am trying to control the brightness of an led using a Raspberry Pi3 and a web interface developed by me. I have a text area with two buttons, one that increases the value and another that…
-
1
votes0
answers50
viewsQ: Apache open from an . html file to another . html in another directory
I’m using Apache to remotely access an html page, I replaced the file index.html that is in the folder /var/www/html for a file of mine that asks for an authentication and redirects the page to…