Setup https://
http://askubuntu.com/questions/159007/how-do-i-run-specific-sudo-commands-without-a-password <-- implement this for reboot command for www-user or what ever it is.
<?php
$key=$_GET['key'];
$secret='mykey';
if($key == $secret) {
exec(reboot);
echo "rebooting....";
} else {...
...or is it because you go on LET and act like a child with a temper, and then come back here and say "its cool here because there are children over there and they have a temper".
I don't, nor do I like LET. They are both the same just with different groups of users.
The only reason I am here is to stalk that sexy pie guy name Halfeatenpie.
/etc/deian_version uses a numerical representation of the version i.e. 7 or 6. However, I do not run LMDE and I have no need to install it.
I'd rather use lsb_release as it will provide future use of the script with less maintenance.