Computing.Net > Forums > Web Development > Dynamic,multiple page updating

Dynamic,multiple page updating

Reply to Message Icon

Original Message
Name: Rattlehead_ie2
Date: September 5, 2005 at 17:24:13 Pacific
Subject: Dynamic,multiple page updating
OS: win2k3
CPU/Ram: 64 3800+
Comment:

Ok Not 100% sure what it is exactly what Im looking for and even if someone gave me a name for it,It would help
I have a site e.g. www.example.com on the side of it is a news bar, kinda genneral updates etc,On ALL the sites within example.com, this news bar is there,now course Ive to update each page manually,which is pain.
What are the best way to automate this,so all I have to do is update one and the whole bar for all pages is updated?security in scripting is also a big issue?


Report Offensive Message For Removal


Response Number 1
Name: Michael J (by mjdamato)
Date: September 6, 2005 at 06:26:33 Pacific
Subject: Dynamic,multiple page updating
Reply: (edit)

There are a few options, but most of them depend upon certain features to be supported on the web server you are using.

One easy way to do this with plain old HTML is server side include files. This must be supported on the web server you are using. Just try a small test to see if it is. Here is some info to get you started: http://www.boutell.com/newfaq/creating/include.html

You could also use one of several languages such as PHP or VBScript. Again, these must be supported on the web server and this would require you learning (at least a little) these languages.

Lastly, you could do it with JavaScript. This would not require any special functionality on the web server, but does require that the users have JavaScript enabled intheir browsers. Basically just call a javascript external file with <script language="javascript" src="filename.js"> (where filename.js is the path and name of the file to load. In that file, just use document.write commands to print the copy to the page.

Michael J


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: Dynamic,multiple page updating

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software




How often do you use Computing.Net?

Every Day
Once a Week
Once a Month
This Is My First Time!


View Results

Poll Finishes In 3 Days.
Discuss in The Lounge