Re: problem.why php code used in html can't work
| From: | Hugh Bothwell | Date: | Mon, 13 Aug 2001 14:59:07 +0000 |
| Subject: | Re: problem.why php code used in html can't work | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-8808@lists.php.net to get a copy of this message | ||
"Lallous" <elias_bachaalany@yahoo.com> wrote in message
news:20010813113226.92710.qmail@pb1.pair.com...
> Yes. It must be. PHP in order to get parsed by the server.
> It depends on the Web Server, you can configure it to parse also HTML
files.
>
> "Goodluckmo" <mag_fm365@fm365.com> wrote in message
> news:20010813101330.44907.qmail@pb1.pair.com...
> > Sorry ,i am first use php. I use php code in fontpage like use
asp,but
> i
> > found it don't work .
> > when i change the little program name from test.htm to test.php .
The
> > program work correct. Why ? Must it suffix is .php?
... it depends on your mime-type settings. You can
set anything you like to be treated as a php file; I have
seen sites where .html is processed as .php so
users' bookmarks won't be broken.
But the most common extensions are .php, .php3, .php4,
and/or phtml.