...

View Full Version : Taking info from a txt file and placeing it on a page?



Fullwebservice
11-08-2004, 07:22 PM
What i want to do is this.

I want to use SSI to pull info from a txt file and place on it the page, the reason is, there will be about 100 copies of this page, and if i want to update a link i dont want to update 100 pages, i just want to be able to edit this txt file or any file , (doesnt have to me a txt file) and the info will appear on all 100 pages,

if anyone knows a way to do this please let me know.

thanks,.

chilipie
11-08-2004, 08:42 PM
If you're using a SSI, all of the pages will automatically update with the contents of the .txt file. What's the problem?

Fullwebservice
11-08-2004, 08:52 PM
the problem is i dont know how to do it,

I used SSI years ago for a small project, thats why i know about it,

But i dont know how to use it,

solow
11-08-2004, 11:34 PM
In the 2 languages I know:

PHP
<?php include("document.txt") ?>

ColdFusion
<cfinclude template="document.txt">

Fullwebservice
11-09-2004, 07:22 PM
In the 2 languages I know:

PHP
<?php include("document.txt") ?>

ColdFusion
<cfinclude template="document.txt">

cheers used the php one, wasnt that easy the last time i did it, alto quicker this time

thanks.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum