note 89162 deleted from function.exit by sobak

From: Date: Sat, 19 Nov 2016 05:47:45 +0000
Subject: note 89162 deleted from function.exit by sobak
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-207174@lists.php.net to get a copy of this message
Note Submitter: jbezNULLorg at gmNULLail dot com ---- If you are retroactively going through included files to prevent them from being accessed, you can use the following. <?php if($_SERVER['SCRIPT_FILENAME'] == __FILE__ ) header('location: /'); // or exit(); // rest of code ?>

« previous php.notes (#207174) next »