This questions is related to linux + PHP. Did not really know where to put it, so put here. HOpe you do not mind.
Does anyone know how I can actually run a prompt/terminal from a PHP page in Redhat 9?
I would like to do this to run some shell scripts that in turn wil start up say eg tcpdump, p0f etc...
Normally for linux, right click on the desktop, new terminal then you get the prompt-
then you type eg tcpdump and it will run.
Assuming that PHP,Apache,Redhat is in computer A.
Using PHP in computer A to run the prompt
How can I do this?
If I am now physically at computer B-running eg windows but computer A is up, can I still use PHP accessed through computer B to run prompt/terminal and then type the program so it will run or run the script-by typing it to run the program?
Thanks a million