note 97187 deleted from function.exec by cmb

From: Date: Sun, 24 Nov 2019 08:54:38 +0000
Subject: note 97187 deleted from function.exec by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-213216@lists.php.net to get a copy of this message
Note Submitter: arharp at gmail dot com ---- A simple function to see if exec() is enabled on the server: <?php function exec_enabled() { $disabled = explode(', ', ini_get('disable_functions')); return !in_array('exec', $disabled); } ?>

« previous php.notes (#213216) next »