Hi I am a php programmer. I found in some sites hide their page type . For eg:

www.some.com/lal?some=some&somemore=somemore.

insted of

www.some.com/lal.php?some=some&somemore=somemore.

Please help me How can i do that
Thanks
Rajeesh

Recommended Answers

All 4 Replies

This is done in Apache server's .htaccess hidden file. If you google for information on how to change the settings in .htaccess you will find many examples.

yes it can be done by htaccess file. and i agree lal may be a directory and the parameters will go on index page.

Lookup Mod_Rewrite (You would need it enabled on your server though so talk to your HP to see if they do this, most do)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.