note 94690 modified in security.hiding by felipe

From: Date: Fri, 20 Nov 2009 00:52:51 +0000
Subject: note 94690 modified in security.hiding by felipe
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-163117@lists.php.net to get a copy of this message
You can use this trick for non-direct used PHP files, eg. setting, class, ajax-related ones. For abcde.php: <?php if ('abcde.php' == basename($_SERVER['SCRIPT_FILENAME'])) die ('What?'); ?> --was-- You can use this trick for non-direct used PHP files, eg. setting, class, ajax-related ones. For abcde.php: if ('abcde.php' == basename($_SERVER['SCRIPT_FILENAME'])) die ('What?'); http://php.net/manual/en/security.hiding.php

« previous php.notes (#163117) next »