note 45263 deleted from features.safe-mode by cmb

From: Date: Tue, 13 Oct 2020 20:04:07 +0000
Subject: note 45263 deleted from features.safe-mode by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-215587@lists.php.net to get a copy of this message
Note Submitter: Russ ---- Sometimes you're stuck on a system you don't run and you can't control the setting of safe mode. If your script needs to run on different hosts (some with safe mode, some without it), you can code around it with something like: <?php // Check for safe mode if( ini_get('safe_mode') ){ // Do it the safe mode way }else{ // Do it the regular way } ?>

« previous php.notes (#215587) next »