You are here: Re: Text in the middle of a web page « HTML « IT news, forums, messages
Re: Text in the middle of a web page

Posted by Floydster on 10/07/73 11:25

Thanks. This is just what I'm after.

"Roy Schestowitz" <newsgroups@schestowitz.com> wrote in message
news:df0nl7$1g8g$3@godfrey.mcc.ac.uk...
> __/ [Floydster] on Monday 29 August 2005 23:30 \__
>
> > Is there any way to display a preformatted text file in the middle of my
> > HTML code?
> >
> > i.e.
> >
> > <body>
> > <pre>
> > i want my text file called here
> > </pre>
> > </body>
> >
> > What I'm trying to do is modify a text file to be uploaded so that my
site
> > changes when the text file changes keeping the look without changing the
> > code so anyone can do it. Is there a better way of soving my problem?
> >
> > Thanks,
> >
> > Floyd
>
> [Apologies about the previous message. I hit the wrong keyboard shortcut]
>
> I believe you should use Server Sides Include (SSI) to achieve this:
>
> http://httpd.apache.org/docs/1.3/howto/ssi.html
>
> In a nutshell, you can include text that is contained within an external
> (e.g. text) file in your HTML code. By declaring some 'includes', much
like
> in programming languages, you delegate power to peripheral files that
> become part of your HTML output. I may be wrong here, so feel free to
> correct me or toss a chair my way.
>
> Hope it helps,
>
> Roy
>
> --
> Roy S. Schestowitz "Turn up the jukebox and tell me a lie"
> http://Schestowitz.com

 

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

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