VisualVision: professional content publishing software - Web site, self installing CD DVD, catalog, protect ebook, autoplay CD brochure, HTML Help, manual, guide, reference, database import CSV

Welcome, Guest. Please Login or Register.
May 24th, 2018, 1:13pm

(this forum was - and actually still is - here)

Home Home Help Help Search Search Members Members Login Login Register Register
Visual Vision **User's** Forum (the fast) « Read Text File when page loads »



Français (Google)
software free download
Español (Google)
software free download
Italiano
 
create Website1SITE: create a business or personal Website with ease...
software support
manuals, documentation on CDCDFrontEnd: distribute documentation, CD brochures & CD business cards; protect CD (Fra, Ita)
software free download
create Web CD catalogHyperPublish: create Website, product catalog (also from DB CSV), multimedia CD... (Ita)
software free download
create ebookEBooksWriter: edit, pack and protect smart ebooks... (Esp, Ita)
cd software
create manualPaperKiller: create a manual, hypertext, manage electronic documentation
software free download
software documentationRoboAuthor: make software helpfile and documentation .CHM .HLP HTML Help
software free download
host hostingVisionHost: web space hosting for VV customers
software free download
create a Web siteEasyWebEditor: build your own Web site, create good Internet pages without code or "HTML"
software free download
Français (Google)
Créer une page Internet personnelle ou d'entreprise avec facilité; distribuer de la documentation, des brochures avec CD DVD à démarrage automatique / auto exécutable, protéger CD / DVD; logiciel pour catalogue de produits (database, CSV); modifier, emballer et protéger ebooks; créer un manuel, un hypertexte, gérer la documentation électronique; construire votre site Web, créer des pages...
software free download
Español (Google)
Crear un negocio o sitio web personal con facilidad; distribuir la documentación, manuales, folletos y CD / DVD tarjetas de visita; proteger CD; crear catálogo de productos (database, CSV), editar, empaquetar y proteger ebook; crear un manual, hipertexto, gestión de documentación electrónica y ayuda CHM y HLP; construir su propio sitio Web, crear páginas de Internet...
software free download
Search:  
Advanced search...

Max results:

   Visual Vision **User's** Forum (the fast)
   Our Products
   EasyWebEditor / 1site

   Read Text File when page loads
« Previous topic | Next topic »
Pages: 1  Reply Reply, or ask/add more Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: Read Text File when page loads  (Read 173 times)
kenfowler
YaBB Newbie
*



I love Visual Vision!

   


Posts: 5
Read Text File when page loads
« on: Mar 5th, 2018, 5:26pm »
Quote Quote Modify Modify

I'm looking for a simple way to display a text file in a table cell when the page loads. The file would be located in a sub-directory of the host account. Is there some HTML I can put in the cell?
Logged
Support Staff
YaBB Administrator
*****



Meow!

   
WWW Email

Gender: male
Posts: 910
server side inc Re: Read Text File when page loads
« Reply #1 on: Mar 7th, 2018, 6:19am »
Quote Quote Modify Modify

You can do this with server side includes, you can include a text from the same folder that contains the HTML files of the website (and from subfolders)
You use Insert >HTML >Within text and you write something like
 
<!--#include virtual="/data.inc"-->
 
in this case the text file is data.inc in the main web folder (that in some hosting accounts is the root folder, in others is /public_html)
 
This will work ONLY if server side includes are enabled on the server;  how to do this depends on the server. Usually you create (in the same web root folder) a file called .htaccess, or you modify the existing .htaccess file and you add
 
AddHandler server-parsed .shtml .html .htm .shtm
 
(this way the web server e.g. Apache, Litespeed, Nginx will read the files it serves and will replace the include virtual with the file pointed.
 
 
Logged
kenfowler
YaBB Newbie
*



I love Visual Vision!

   


Posts: 5
Re: Read Text File when page loads
« Reply #2 on: Mar 7th, 2018, 8:01pm »
Quote Quote Modify Modify

Got it. Thanks.
-ken-
Logged
kenfowler
YaBB Newbie
*



I love Visual Vision!

   


Posts: 5
Re: Read Text File when page loads
« Reply #3 on: Mar 8th, 2018, 4:59pm »
Quote Quote Modify Modify

Well, it didn't work at my web hosting server, GoDaddy. Called the support line and they said that their Windows support platform for economy hosting doesn't parse includes. I would have to upgrade to a Linux platform and maybe program in PHP.  
Logged
Pages: 1  Reply Reply, or ask/add more Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »


VisualVision main Web site
Easy software tools from Visual Vision:

Visual Vision **User's** Forum (the fast) » Powered by YaBB 1 Gold - SP1!
YaBB © 2000-2001, XNull. All Rights Reserved.
This forum © 2001-2010 VisualVision and VisualVision Users