Set PHP to run shell commands piping in parameters from URL - AWS EC2 (Ubuntu)

0

How does one set up PHP to run shell commands with parameters from URL?

For example http://ipaddress.com/endpoint triggers the Ubuntu command

For example http://ipaddress.com/endpoint/?parameters=bla triggers the Ubuntu command with some parameters passed in

ina

Posted 2019-10-17T08:24:13.563

Reputation: 500

No answers