Using escapeshellarg() : escapeshellarg « Utility Function « PHP





Using escapeshellarg()

 
<?php
system('/bin/ps '.escapeshellarg($process_id));
?>
  
  

Related examples in the same category