RE: [bang-phpug] hiding the php file name
- Use the funda of .htaccess file of apache.
You have to write the RewriteRule
create a new file
put in the root dir of your folder
go to file save it as '.htaccess'
For eg --
RewriteRule ^index/?type=delete /path/to/file/index.php?type=delete
or try this too
RewriteRule (.*)\.htm[l]?(.*) $1.php$2
Save all your file as .html so this will automatically take this as .php
If you are using the debian linux and then you have to enable the
.htaccess by this
and some more things chk this toooo --
for hiding file name & ext. code is:
deny from all
or hide all files with ext:
IndexIgnore *.php *.jpg
or protect file:
I think this is what you want. :)
my blog :: http://ullu.wordpress.com
From: email@example.com [mailto:firstname.lastname@example.org] On
Behalf Of ravi chandran
Sent: Wednesday, January 24, 2007 6:59 PM
Subject: [bang-phpug] hiding the php file name
can anyone please help me , how to hide the file name of .php extension?
the url has to show like this
intead of this
Yahoo! India Answers: Share what you know. Learn something new
Yahoo! Groups Links
The information contained in, or attached to, this e-mail, contains confidential information and is intended solely for the use of the individual or entity to whom they are addressed and is subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email.