ID: 37856 Updated by: [EMAIL PROTECTED] Reported By: toomuchphp-phpbugs at yahoo dot com -Status: Open +Status: Wont fix Bug Type: Feature/Change Request PHP Version: 5.1.4 New Comment:
No, we can't change this as this is assumption that might only be true for *your* applications. In this case it would for example break one of mine... Also, disallowing this would be up to apache and not PHP anyway. Previous Comments: ------------------------------------------------------------------------ [2006-06-20 03:40:00] toomuchphp-phpbugs at yahoo dot com Description: ------------ Would it be a good idea to provide an option in php.ini to prevent PHP from executing scripts which are designed to be included files? E.g., if PHP detects that the requested document is 'includes/someFile.inc.php' it will refuse to process the document because it has a '.inc.php' extension and is clearly only meant for inclusion. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=37856&edit=1