Closed Thread Icon

Preserved Topic: Page footers (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=17699" title="Pages that link to Preserved Topic: Page footers (Page 1 of 1)" rel="nofollow" >Preserved Topic: Page footers <span class="small">(Page 1 of 1)</span>\

 
Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 03-25-2000 01:13

This isn't DHTML or JavaScript, but I wasn't sure where to put it. I noticed that when you changed the footer to your main page (the part that says - OLD forum NEW - in it, and displays the date and time), it changed the footer everywhere it's displayed throughout the entire site - even in the old interfaces.<P>SOOO... I looked at the source and found that the date and time weren't being generated by JavaScript, so I figured that you must be using some CGI language to do it.<P>If I'm right about this, how do you do that? I'm sure it's a server-specific thing, and you wrote the script that does it yourself, but I'm curious as to how you just insert HTML in the middle of a page with CGI, when the rest of the page isn't created with it.<P>[This message has been edited by a future version of Slime (edited 12-08-3829).]<p>[This message has been edited by Slime (edited 25-03-2000).]

DocOzone
Maniac (V) Lord Mad Scientist
Sovereign of all the lands Ozone and just beyond that little green line over there...

From: Stockholm, Sweden
Insane since: Mar 1994

posted posted 03-28-2000 06:28

OK, it is all SSI, or server-side includes, a nifty server based approach. I make one file called "copyrtight.html" which looks like this...<P><center><B><font size=1 face=verdana><nobr>- Entire contents <A
HREF="/questions.html" target="questions"
onMouseOver="window.status='Questions about the copyrights? Look here.'; return true"
>copyright &copy;1994-2000</a> by <A
HREF="/blueprint/contact33.html" target="contact"
onMouseOver="window.status='Contact Doctor Ozone'; return true"
>Doctor Thaddeus Ozone</a>, all rights reserved. -</nobr><br><P>- Date & Time:
<!--#config timefmt="%A, %B %d, %Y %I:%M%p %Z" -->
<!--#echo var="Date_GMT" --><P> -<br>- Last updated:
<!--#config timefmt="%A, %B %d, %Y" -->
<!--#echo var="LAST_MODIFIED"-->
-<br>

- <a href="mailto:handson-subscribe@egroups.com">Join the OZONE mailing list</a> -<br>
<P>
- <a href="http://www.VISI.com/" target="linked"
onMouseover="window.status='Hosted by VISI.com, simply the *best* place to host, honest!';
return true">Hosted by VISI.com</a> -<br><P>- <a href="http://www.casualforums.com/h2o/OZONE/"
target="_top">OLD</a> forum <a href="http://www.ozones.com/forum/cgi-bin/Ultimate.cgi"
target="_top">NEW</a> -<br><P>- <a href="http://www.ozones.com/"
target="_top"> HOME </a> -<br><P></font></B><br></center><P>---------------<P>and then I can insert that page all over the place with this one line...<P><!--#include virtual="/copyright.html" --><P>That's it! Run a search on SSI and XSSI, you'll be delighted!<P>-doc-
<P>------------------
----- Doctor Thaddeus Ozone --------- "Specialization is for insects"---
  --- OZONE pages .................................. http://www.ozones.com/
    - Hands-On Tutorials ............ http://www.ozones.com/handson/

bitdamaged
Maniac (V) Mad Scientist

From: 100101010011 <-- right about here
Insane since: Mar 2000

posted posted 04-04-2000 04:56

Just to expand on that a bit, your server must support the include in order for it to work.<P>------------------
Walking the Earth like Kane

DocOzone
Maniac (V) Lord Mad Scientist
Sovereign of all the lands Ozone and just beyond that little green line over there...

From: Stockholm, Sweden
Insane since: Mar 1994

posted posted 04-05-2000 09:19

Yas, I always insist on that at any place I host, it's pivotal to my work. Many SysAdmins don't like to open that up, lots of potential exploits could be created, making the server insecure. While all of my SysAdmins wince at the bandwidth and resources I consume, I'm pretty good at not trashing the server or opening the network to attack. Talk to your SysAdmin, buy them cookies, they like that!<P>Your pal, -doc-
<P>------------------

----- Doctor Thaddeus Ozone --------- "Specialization is for insects"---

« BackwardsOnwards »

Show Forum Drop Down Menu