free
This is our archive, please go to the main forum page for the latest discussions and news about free web hosting.


What is an easy way of updating web stuffs?

Lt.Steele
November 15th, 2000, 06:06
Ok...here is the situation

I currently have 40 web pages with huge links in every page which are suppose to be the same. If i want to add a new html page, i then must update EVERY single links in each page as well. What can i do so it would be very easy to update? For example, i update a file and then it automatically updates everything for me :) I do NOT want a framed web page, it then makes my web looks crap :(

chicos
November 15th, 2000, 06:26
the best way would be to use ssi.. not sure about the exact way of doing it but if i remember correctly make a page and modify all your pages to call that one page. then just update that one page when you need to change the links.

jvv
November 15th, 2000, 10:05
The best way is to get an html editor that supports templates like dreamweaver... this allows you to update one page without having to do all the others.

Koolguy
November 15th, 2000, 16:21
Originally posted by chicos
the best way would be to use ssi.. not sure about the exact way of doing it but if i remember correctly make a page and modify all your pages to call that one page. then just update that one page when you need to change the links.
Actually a better way would be to include the file with php, much faster.

Gonzo
November 15th, 2000, 17:40
This is the code for SSI and PHP.
SSI:

<!--#include file="links.html" -->

This is if your file that you want to include is named links.html. Your page that you use this on must end in .shtml

PHP:

<? include "links.html" ?>

This is if the file that has the links in it is named links.html. your page must end in .php or .php3 what every your host wants you to use.

Lt.Steele
November 16th, 2000, 07:49
wow, great, which one is better?

SSI

or

PHP

Zoom
November 16th, 2000, 10:40
I think PHP is!

Technics
November 16th, 2000, 11:00
php as it does not use as many system resources and its also an easy language to learn. I just bought a php4 book "teach yourself php4 in 24 hours ". Part of the sams teach yourself range and id say i have a very good understanding of it now.

jvv
November 16th, 2000, 11:09
The thing is that not all hosts support PHP at this moment.

atlas
November 17th, 2000, 02:14
The best way isn't using PHP. It's quite annoying to have all your html docs to php docs. A more efficient way is to make a generalized template and have a perl script build all of your pages from that template.

Less server load, as well as being "cleaner"

mjk@atlascgi.com

Zoom
November 17th, 2000, 03:04
To atlas: You could build one(!!!!) template and create txt files(with content)...
And you could call the page like this: http://www.your-lovely-host/index.php?copyright
or http://www.your-lovely-host/?copyright
It's very cool!!!





  
  News · Search free hosts · Free file hosting · Free image hosting · Reviews · Forums · Related Links · Advertising Info · Contact Us


Copyright © 1996-2008 Per Olof Sandholm. All rights reserved. Privacy Statement

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum