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
amolkad
Forum Newbie
Posts: 22 Joined: Tue Jun 01, 2004 7:22 am
Post
by amolkad » Wed Jun 02, 2004 7:10 am
Hi,
I want to develope php page which has SSI. I mean to say that the extension should be .html and not .php.
Can any one tell me the way by which I can achieve the same.
Thanx in advance.
Amol
jason
Site Admin
Posts: 1767 Joined: Thu Apr 18, 2002 3:14 pm
Location: Montreal, CA
Contact:
Post
by jason » Wed Jun 02, 2004 7:21 am
Well, which is it? You want to develop a PHP page with SSI or have your extension be .html instead of .php?
Also, why do you think you need to use SSI?
malcolmboston
DevNet Resident
Posts: 1826 Joined: Tue Nov 18, 2003 1:09 pm
Location: Middlesbrough, UK
Post
by malcolmboston » Wed Jun 02, 2004 7:24 am
sounds to me like hes after what i commonly refer to as 'tricking' users into thinking its .html instead of .php
is'nt this HTACCESS?
dull1554
Forum Regular
Posts: 680 Joined: Sat Nov 22, 2003 11:26 am
Location: 42:21:35.359N, 76:02:20.688W
Post
by dull1554 » Wed Jun 02, 2004 3:36 pm
or he could add a handler to make the web server always parse .html files with the php interpreter
evilmonkey
Forum Regular
Posts: 823 Joined: Sun Oct 06, 2002 1:24 pm
Location: Toronto, Canada
Post
by evilmonkey » Wed Jun 02, 2004 8:38 pm
If he doesn't own the server, like most people out there, he can't really do that. I think it's possible through .htaccess though.
Cheers!
dull1554
Forum Regular
Posts: 680 Joined: Sat Nov 22, 2003 11:26 am
Location: 42:21:35.359N, 76:02:20.688W
Post
by dull1554 » Wed Jun 02, 2004 9:27 pm
well if he buys hosting and his host offers cpanel, then you can add apache handlers through the interface, rather easy infact