Howdy! Welcome to our community of more than 130.000 members devoted to web hosting. This is a great place to get special offers from web hosts and post your own requests or ads. To start posting sign up here. Cheers!
/Peo, FreeWebSpace.net
i use php scripts to read html files.
so can we protect html files and by the way our php scripts can read them.
i tried chmod to protect them but php do not want to read them.
any ideas?
can we do something with htacess or else?or some other ways to protect html?
thanks
let me say like this.
i do want my visitors to denied from viewing html file not the source.
well we can make it with .htacess just typing there
deny from All
and then my private folder where html files are will be denied to view all files.(to all).and this files can be read by PHP with fread command.
but what i want is just prevent some files not all of them.
i have tried
deny forbiden.html from All (in .htacess).but no changes.
anyone knows how to prevent certain files.
and how can we prevent files if server do not allow .htacess
thanks for your answers guys.