But never populate input values directly into a shell command. Use the function escapeshellarg()
:
$key = escapeshellarg($_POST['key']);
5
solved How to use exec shell with PHP and MySQL?
But never populate input values directly into a shell command. Use the function escapeshellarg()
:
$key = escapeshellarg($_POST['key']);
5
solved How to use exec shell with PHP and MySQL?