|
Posted by Matt S on 07/27/07 21:48
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.
--
'Yes, firefox is indeed greater than women. Can women block pops up for you?
No. Can Firefox show you naked women? Yes.'
Navigation:
[Reply to this message]
|