You are here: Re: Pulling a small text file into HTML? Easy? Bah! « HTML « IT news, forums, messages
Re: Pulling a small text file into HTML? Easy? Bah!

Posted by JDS on 11/17/05 22:26

On Thu, 17 Nov 2005 20:06:20 +0000, Steve wrote:

> This all
> seems extremely complicated!!


Wow, you are right. Don't know what your server specs are, but there are
ways to do this on pretty much any webserver.

Google on:
SSI

PHP includes

ASP

ASP will let you use the same syntax as SSI.

SSI/ASP can be as simple as this:

<table>
<tr>
<td>
<!--#include virtual="gig_dates.html" -->
</td>
</tr>
</table>

The "#include" line in PHP would look like this:

<?php include("gig_dates.html")?>


later...


--
JDS | jeffrey@example.invalid
| http://www.newtnotes.com
DJMBS | http://newtnotes.com/doctor-jeff-master-brainsurgeon/

 

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

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