note 74732 deleted from function.exec by cmb

From: Date: Sun, 22 Sep 2019 07:20:24 +0000
Subject: note 74732 deleted from function.exec by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-212275@lists.php.net to get a copy of this message
Note Submitter: skchandon at skchandon dot com ---- PHP Exec : Delete statement execution problem If filename is blank for exec: delete statement then it hangs the php execution, hence have to trap it as follows <?php $fname=$_POST["fname"]; if ($fname!="") // TRAP { exec ("del c:\\temp\\$fname"); } ?>

« previous php.notes (#212275) next »