Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. <?php
  2. function Test(){
  3. $executeShell= exec("sudo ./test.sh ");
  4. echo $executeShell;
  5. }
  6. ?>
  7.  
  8. <input type="button" onClick="Test()" value="Exec"></button>