Change displayed address

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
S_henry
Forum Contributor
Posts: 148
Joined: Sun Jan 25, 2004 10:25 pm
Location: M'sia

Change displayed address

Post by S_henry »

Can we display different address (change file extension) in the address bar? For example, for the page http://www.abc.com/test.php, i want to display it as http://www.abc.com/test.chtml. Is it can?
S_henry
Forum Contributor
Posts: 148
Joined: Sun Jan 25, 2004 10:25 pm
Location: M'sia

Post by S_henry »

Anybody has any idea pls? Is it possible to do that?
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

Read the manual of yoru webserver..

Apache has for example the AddType directive and the mod_rewrite module...
Post Reply