Mid-Atlantic Developer Conference - Call for Speakers


Please answer this simple SPAM challenge: min(four, four)?
(Example: nine)

The Note You're Voting On

Thomas "Balu" Walter
12 years ago
Since many users can not modify apache configurations or use htaccess files, the best way to avoid unwanted access to include files would be a line at the beginning of the include-file:

<?php if (!defined('APPLICATION')) exit; ?>

And in all files that are allowed to be called externally:

<?php define('APPLICATION', true); ?>


<< Back to user notes page

To Top