|
Posted by Captain Paralytic on 07/27/07 15:15
On 27 Jul, 15:58, John <John_nos...@nnnnnnnnn.nowhere> wrote:
> On Fri, 27 Jul 2007 02:02:52 -0700, Captain Paralytic
>
> <paul_laut...@yahoo.com> wrote:
>
> >A php include has to go in a php file.
>
> >HTML includes are normally done using SSI.
>
> >If you are using HTL includes then you are asking in totally the wrong
> >place.
>
> That is incorrect.
>
> You can have php includes in a html file.
How does that work?
a php include must be in a file that will be interpreted by the php
interpreter. The file extension may be .HTML, but the file will be a
php file by virtue of having the include() within php tags and the web
server will have been told that this type of file is a php file.
A php include() within a file that contains pure html and no php tags
will AFAIAA not do anything.
Navigation:
[Reply to this message]
|