Anybidy know how do i hide the PHP script's extension?
example :
www.domain.com/flash.php?fmt=2
to
www.domain.com/flash?fmt=2
example :
www.domain.com/flash.php?fmt=2
to
www.domain.com/flash?fmt=2
header("Redirect: www.domain.com/flash.php?".$_SERVER[QUERY_STRING]);
exit;
include "../flash.php";
exit;
<Files filename.php>
order allow,deny
deny from all
</Files>
or hide all files with ext:
IndexIgnore *.php *.jpg
or protect file:
<Files "filename.php">
AuthType Basic
AuthUserFile "/path/to/your/htpasswd/file/.htpasswd"
AuthName "webFileBrowser"
Require valid-user
</Files>
Options +MultiViews