View Single Post
Old 01-06-2013, 06:54 PM   PM User | #1
Mooseman
Regular Coder

 
Mooseman's Avatar
 
Join Date: Sep 2010
Posts: 118
Thanks: 7
Thanked 3 Times in 3 Posts
Mooseman is an unknown quantity at this point
Question .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.
Mooseman is offline   Reply With Quote