Hi All,
Is there anyway of connecting to WiFi (headless) using a WiFi dongle?
I am lost with the onclick portionZorac wrote:you need some sort of onclick portion within your buttons, something like this
onclick="location.href=\''.$_SERVER['PHP_SELF'].'?led=on\'"
then for you php check if led isset and if it equals 'on' or 'off'
Ok...on the webpage, there are 2 buttons (LED On and LED Off)chrisoh wrote:You're welcome. You lost me with the buttons though. Chocolate I hope, mmmmm
That is where I placed the filescotty101 wrote:Where have you placed the file example.php?
I think it is supposed to be inside /var/www/