PHP Execution Operators
What are the Execution Operators?
How to execute a command?
Explanation
The execution operator allows us to execute a command on the operating system that hosts the web server and PHP module and then capture the output. It consists of enclosing the command to be executed in back quotes (`).
Example :
<?php
echo `dir`;
?>
In the above example the execution operator will execute the dir command to get a listing of files in the current web server directory
Note :
With the execution operator, we begin to experience the power of PHP as server side scripting environment. There are possible security risks, so be careful while using this operator.