.htaccess blocking PHP file_get_contents
My .htaccess:
<Files .txt>
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
</Files>
However, my PHP then can't get the contents of myfile.txt. How can I fix this? Thanks!
__________________
Ask me anything about CSS! Learning PHP.
|