The following is the scope of what I want to do. I am trying to enable a button click on the web page and it does a system call. I was wondering if anyone knows a way to resolve this?
I think I am looking at something like onclick="<?php exec( "/sbin/ifconfig -a" ); ?>
The above won't work because when the page is brought up, onclick is an empty field.
Does anyone have a suggestion on how to approach? Please help!