Re: PHP in HTML
| From: | Justin French | Date: | Fri, 17 May 2002 02:21:13 +0000 |
| Subject: | Re: PHP in HTML | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-97998@lists.php.net to get a copy of this message | ||
Your Apache config file will be set to only parse PHP pages if they have the
.php extension.... this is a feature, not a big, because otherwise every
html page on your server will be parsed, rather than just the php ones...
you could modify your apache config iff you wished, but I wouldn't. .html
for HTML, .php for PHP, all is well.
Justin French
on 17/05/02 12:14 PM, Jeremy (wombat@bluetravel.com.au) wrote:
> Hi Folks,
>
> A simple question that has me puzzled, obviously I have a config file wrong
> somewhere..
>
> Why does a filename.php file run as php and a filename.html with php code
> embedded not produce a php result?
>
> cheers,
>
> Jeremy Burton
> Senior Consultant
> PERTH TOURIST LOUNGE
>
> Level 2 Carillon City
> Murray Street, Perth
> Ph: +618 9229 2238
> Fax: +618 9229 2220
> Email: wombat@bluetravel.com.au.co.jp
>
>
>