|
Posted by Gary Hasler on 12/06/07 23:28
Ivan Marsh wrote:
>
> On Wed, 05 Dec 2007 22:20:58 +0100, Michael Fesser wrote:
>
> > .oO(Ivan Marsh)
> >
> >>On Wed, 05 Dec 2007 19:40:29 +0000, Gary Hasler wrote:
> >>
> >>> I want apache to parse all .html files for php code.
> >>
> >>May I ask why files that contain PHP code are being named .html and not
> >>.php?
> >
> > Some things simply don't belong to a URL.
>
> Who said anything about belonging in a URL? If you're stripping file
> extensions what difference does it make what the file extension is?
>
> The file extension tells the webserver how to interpret the file... so why
> not name PHP scripts .php rather than .html?
Because I'm switching to a PHP scripted menu / header include system,
that means I will need all 50 of our existing html pages to be processed
by PHP. And I'd rather not break our customers' existing bookmarks,
plus search engine links.
Navigation:
[Reply to this message]
|