I put this in the wrong section, so lets see if this helps =]
[QUOTE]
Hello There. I am looking for a code that would allow me to just one page, in which would affect the others. Let me explain. My website has, on the side, a portion for the Awards. Underneith, there is a section where it shows the date and what happened (ex: 8.23.07: 1 new Entry). I display that on all pages (21 pages). Now i am looking for a way that i could just change it on 1 page, in which it affects the rest. So if i change it on say index.htm, it changes on all other pages. This would save me a ton of time, and would benefit the site.
i however do not want to use iframes, or any other frames to do this. If it is possible, it would be awesome to have in css, javascript, or any other “non-webpage’ format.
Thank you for you Valiant Efforts!
[CODE]<?php include "[COLOR="Blue"]filename[/COLOR].html"; ?>[/CODE]
.<body bgcolor="#5776B6" text="#FFFFFF">
<!--Header-->
<div style="position:absolute;top:0px;left:110px;">
<img src="head.jpg"/>
</div>
<!--Links-->
<div style="position:absolute;top:220px;left:105px;width:150px;">
[COLOR="Red"]<?php include "filename.htm"; ?>[/COLOR]
</div>
<!--Stats-->
<div style="position:absolute;top:483px;left:105px;width:150px;">
<img src="stats.gif" />
<small>
[/quote]
<img src="navigation.gif" />
<li><a href="index.php">Home</a>
<li><a href="gadgets.php">TG Gadgets</a>
<li><a href="gallery.php">Gallery</a>
<li><a href="lotr.php">LotR</a>
<li><a href="potc.php">PotC</a>
<li><a href="hp.php">HP</a>
<li><a href="guestbook.php">Guestbook</a>
<li><a href="http://telpeathgift.proboards34.com " target="_new">Forum</a>
<li><a href="awards.php">Awards</a>
<li><a href="site.htm">Site</a>
[/quote]
[CODE]
<div style="position:absolute;top:220px;left:105px;width:150px;">
<img src="navigation.gif" />
<ul>
<li><a href="index.php">Home</a></li>
<li><a href="gadgets.php">TG Gadgets</a></li>
<li><a href="gallery.php">Gallery</a></li>
<li><a href="lotr.php">LotR</a></li>
<li><a href="potc.php">PotC</a></li>
<li><a href="hp.php">HP</a></li>
<li><a href="guestbook.php">Guestbook</a></li>
<li><a href="http://telpeathgift.proboards34.com" target="_new">Forum</a></li>
<li><a href="awards.php">Awards</a></li>
<li><a href="site.htm">Site</a></li>
</ul>
</div>[/CODE]
<i>
</i><?php
echo '<p>hello world</p>'
?>
[CODE]<!-- include "navi_bar.html"; ?>[/CODE]
, it should be [CODE]<?php include "navi_bar.html"; ?>[/CODE]
im still not sure if i understand. My server, would that be freewebs...but the fact still remains that my computer, when using a editing program, doesnt show it. Is there an easier way to do what i want without going through php compatablitiy? Or is this the only way?
[/QUOTE]
Does Freewebs Support Server-Side Includes (SSI)?
YES! We support Server-Side Includes free of charge.
What about MySQL, MSACCESS, and PHP?
Unfortunately, Freewebs does not offer these functions.
[/QUOTE]
So, let me see if i understand this.
[LIST]
Place the <!--#include file="filename.html" --> code where i've been putting the php code [/LIST]
[/QUOTE]
[LIST]
Then, like before, instead of putting php instead of htm, put shtml or htm? [/LIST]
[/QUOTE]
[LIST]
[/QUOTE]Finally, im wondering if the coding should be the same as php, or that all i have to do is just copy and paste the code into the new page (filename.html)? [/LIST]
0.1.9 — BETA 5.19