Working on a little project for dansguardian and squid3, mostly dansguardian, but have ran into a problem, is there away for PHP to execute sudo command.
I need to execute /etc/init.d/dansguardian restart using PHP, I have seen the command in some php files in lmce-admin, but I just can't get it to work. do I need to include some files belonging to LMCE?
Once I get pass this part my project will rolling, here is a quick video of what I have achieved so far
I have made some changes since this video..etc added in a delete button to remove blocked sites.
Any help would be great,