note 1136 modified in function.include by irc-html

From: Date: Sat, 19 Jan 2002 19:30:14 +0000
Subject: note 1136 modified in function.include by irc-html
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-25246@lists.php.net to get a copy of this message
Regarding the security issue noted above, if you want nobody to see the contents of your include files, and you use Apache, you can try stuffing: Order deny,allow Deny from all into your .htaccess file for where your include file are stored (I use projectdir/include). This also assumes that your Apache setup is configured with AllowOverride all or similar. This works by virtue of PHP not caring one way or the other about Apache's .htaccess. --was-- Regarding the security issue noted above, if you want nobody to see the contents of your include files, and you use Apache, you can try stuffing: <pre> Order deny,allow Deny from all </pre> into your .htaccess file for where your include file are stored (I use <i>projectdir</i>/include). This also assumes that your Apache setup is configured with <code>AllowOverride all</code> or similar. This works by virtue of PHP not caring one way or the other about Apache's .htaccess. http://www.php.net/manual/en/function.include.php

« previous php.notes (#25246) next »