hn4u @ Last updated 21/11/04 22:42
Go to my homepage at http://4u.jcisio.com
Full version available at http://4u.jcisio.com/r/article596.htm

Không rõ

Che dấu PHP

Mã lệnh
RewriteEngine on
RewriteOptions inherit
RewriteRule (.*)\.htm[l]?(.*) $1.php$2 [nocase]

To hide PHP, you need following php.ini settings

Mã lệnh
expose_php=Off
display_errors=Off

and in httpd.conf

Mã lệnh
ServerSignature Off

(min works, but I prefer off)

Ideally you need .htaccess abilities (check with your host) and use the lines below:

php_value register_globals "no"


hainam4u @ Last updated 21/11/04 22:42
Go to my homepage at http://4u.jcisio.com