alecjw
September 19th, 2006, 10:16 PM
Is it possible to make a few binaries like shutdown and aptitude into cgi binaries so that I can execute them from PHP eg:
<?php
exec("aptitude update && aptitude uppgrade && shutdown -r now");
?>
<?php
exec("aptitude update && aptitude uppgrade && shutdown -r now");
?>