|
Posted by Jerry Stuckle on 07/28/07 01:18
Matt S wrote:
> Captain Paralytic wrote:
>
>> 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?
> AddType application/x-httpd-php .html
> For Apache of course. You just force the MIME type of .html files to be PHP
> files. If you're using an executable directory so to say (+ExecCGI), you
> could just put #!/usr/bin/env php at the top and it would be treated as a
> PHP file regardless of file extension.
And waste a hell of a lot of server resources parsing your static HTML
files for PHP.
Thank &Diety most shared hosting environments don't allow this. What a
bunch of crappola.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|