Questions tagged [web]

For questions pertaining to configuring or troubleshooting web access from the Raspberry Pi.

Filter by
Sorted by
Tagged with
3
votes
4answers
2k views

Water level indicator using a transistor

I have a Raspberry Pi that is connected to a breadboard. I'm using a BC548 transistor. I would like to know what to code so that if the green wire touches water a LED turns on. This is the circuit. ...
1
vote
1answer
6k views

Executing a command via PHP

I currently have an Apache web server running on my Pi that has this as the index.php file: <?php if (isset($_GET['play'])) { exec('sudo omxplayer yes.m4a'); } ?> However, my ...