Answer the question
In order to leave comments, you need to log in
Shell in php with output?
Hello, you need to execute commands using a specific mask through the php front on the server:
bash new.sh FIELD1 FIELD2 FIELD3 FIELD4
bash new.sh FIELD1 FIELD2 FIELD3 FIELD4
field - the arguments that the person enters.
When adding a line, it must be executed as a separate command
. Also, the result of the execution should be displayed as an echo response
. How to do this correctly?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question