Questions tagged [php]

A widely used, general-purpose scripting language designed for web development. This topic covers the use of PHP and how to host PHP web servers on the Raspberry Pi.

209 questions
5
votes
1 answer

Shutting down Raspberry Pi with PHP

I built this dashboard for my Raspberry Pi and would like to be able to shut it down and reboot it with a click. I have the following in my html which redirects to a script and gets a PHP page with ajax: