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


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to