Re: .inc over .php

From: Date: Fri, 19 Apr 2002 12:13:19 +0000
Subject: Re: .inc over .php
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-93671@lists.php.net to get a copy of this message
Hi By using .inc you can be sure they will not get executed out of context which can be dangerous, but also you should add this to apache config to stop them being delivered as plain text which can also be dangerous. I don't know about IIS but I guess they have something similar. <FilesMatch "\.(inc)$">
    Order allow,deny
    Deny from all
</FilesMatch> Tom At 06:10 PM 19/04/2002, you wrote:
Just a few quick questions if anybody is out there. Why use .inc as a file extenstion when you can use .php ?? What are the advantages/disadvantages to using .inc? Is one more secure? Which is faster? Which is consider a better pratice? Thanks a lot. _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.general (#93671) next »