Is there away to create a .htaccess file to block peopla from viewing the directory and it's contents .... but allow php files to write to the files inside it.
Is there away to create a .htaccess file to block peopla from viewing the directory and it's contents .... but allow php files to write to the files inside it.
err..that's directory indexing. You can enable/disable that using your cpanel screen.Originally Posted by laborspy
Do you want to enable PHP files to write to the files inside the (( Protected Folder ))Originally Posted by laborspy
when that's files requstes from the Explorer throw the port 80 ?
if so , it will not be work .... there will make aconflect because if you want file to write to onther the onther should have permession 777 .
cLeaR your Minde
I got my answer on a website. The above just needs to be placed in a .htaccess inside the protected folder. Now using the above method will also allow you allow a certain IP or IP range.order deny,allow
deny from all