--- Guru Geek <[EMAIL PROTECTED]> wrote:
> I was wondering, can you call a php script in the middle
> of a html page?
...
> Does anyone else know how to use php on a page and yet
> keep the .html extension?
Configure your Web server to treat .html files as PHP. This
has been discussed before, so t
I think what you've seen is shtml / ssi / server side includes, but anyway,
since you asked:
1. create a .htaccess file which pushes *all* .php pages through PHP
I *THINK* the code is something like:
ForceType application/x-httpd-php
But you should check the apache manual, list or some tu
I was wondering, can you call a php script in the middle of a html page?
I've seen some sites use code like this:
Untitled
HELLO WORLD!!!
but when I try it, the php script doesn't run.
Does anyone else know how to use php on a page and yet keep the .html
extension?
Thanks in advance,
3 matches
Mail list logo