apache - How to stop accessing a file directly of a directory in php -
stop user straight accessing file of directory via url can used within php programme include or require function.
mention below line in .htaccess
file. it'll solve problem.
rewriterule ^includes/ - [r=404,l,nc]
php apache .htaccess
No comments:
Post a Comment