Include Files

From: Date: Tue, 25 Jul 2000 13:59:13 +0000
Subject: Include Files
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-8040@lists.php.net to get a copy of this message
I made the mistake of using the extension .inc as opposed to .php for my include files, which means that the they can be viewed as text. If I'd named them PHP they would never be sent without being executed, which means that nobody would be able to see my code and passwords and all that. So, I simply want to add .inc to the list of extensions that PHP will execute... how would I go about doing this... I'm guessing I'd add a line to my httpd.conf file or something... but what is the correct syntax? -Jeff

« previous php.general (#8040) next »