title: how to add block IP to CSF by PHP
body: <p>i would like to add IP to black list CSF Linux server by PHP code.any body help me?</p>
  
  <pre><code>$cmd = "sudo /usr/sbin/csf -d";
  $s = $cmd . " " . $ip . " " . $comment;
  $output = shell_exec($s);
  </code></pre>
  
  <p>i used this code but not working.event run in Cron jobs.</p>