Execution Operator

Use of `back ticks` to execute commands directly

 

<?php
	echo `ls -l` . "<br>"; //long list of files in cwd

	echo `rm error_log` ; //remove error_log

	echo `ls -l` ; //long list of files in cwd
?>

Leave a Reply