You are here: Re: How do I include a SSI in a PHP file? « All PHP « IT news, forums, messages
Re: How do I include a SSI in a PHP file?

Posted by Lars Eighner on 11/19/05 02:10

In our last episode,
<437e6a6c$0$352$da0feed9@news.zen.co.uk>,
the lovely and talented Warmbells
broadcast on alt.php:

> Lars Eighner wrote:
>> In our last episode,
>> <437e5dd9$0$347$da0feed9@news.zen.co.uk>,
>> the lovely and talented Warmbells
>> broadcast on alt.php:
>>
>>
>>>Hi,
>>
>>
>>>I have a couple of includes on each page on our sitesuch as
>>
>>
>>><!--#include virtual="siteincludes/bottom_menu.htm"-->
>>
>>
>>>and <!--#config timefmt="%e %B, %Y"-->
>>><!--#echo var="LAST_MODIFIED"-->
>>
>>
>>>they work great on all the pages except a couple I have had to use a php
>>>suffix on
>>
>>
>>>What is the correct way to use the above with a php page?
>>
>>
>> Adjust your server configuration so it knows it has to parse
>> php pages.
>>
> The php page parses okay it has some snippets on it such as

><?php
> $function = 'count';
> $id = 'Catsaver.zip';
> include('./downloads.php');
> ?>

Which has what to do with server parsing?

--
Lars Eighner usenet@larseighner.com http://www.larseighner.com/
Save the Rainforest! Eat a vegetarian!

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация