protecting inc files
Posted: Tue Jan 06, 2004 11:14 pm
how do i make it so that people can not just type in the address of my inc file and see all my account info? do i have to create an htaccess file? please help ASAP.
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Code: Select all
<Files ~ "^.inc">
ForceType application/x-httpd-php
</Files>Code: Select all
<Files ~ "^.inc">
Order allow,deny
Deny from all
</Files>