How to tell the server to add same graphic on every page?

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
lestat
-


Joined: 15 Sep 2003
Posts: 130
Location: GREEN BAY

PostPosted: Tue Sep 23, 2003 7:07 pm    Post subject: How to tell the server to add same graphic on every page? Reply with quote

Hi,

I want the end user to see particular graphics on every page of the site. Rather than hard coding it into each page, can I have the server serv up the images every time?

Thanks!
Back to top View user's profile Send private message AIM Address MSN Messenger
Produkt
-


Joined: 22 Sep 2003
Posts: 25

PostPosted: Tue Sep 23, 2003 8:03 pm    Post subject: Yeah Reply with quote

Yep, that's what SSI is for. If you have it enabled, you can add this into your pages: <!--#include file="whatever.txt"-->
Put whatever code you want to show up in "whatever.txt" and put that script line into any page that you want to have that code.
_________________
Produkt
Back to top View user's profile Send private message Send e-mail
lestat
-


Joined: 15 Sep 2003
Posts: 130
Location: GREEN BAY

PostPosted: Tue Sep 23, 2003 8:22 pm    Post subject: Can that info be variable? Reply with quote

I have folders, in which the files are changed from time to time. Can I get the server to display whichever file displays, and using <!--#include file="whatever.txt"-->, display the graphic?

Thanks!
Back to top View user's profile Send private message AIM Address MSN Messenger
os17fan
-


Joined: 21 Mar 2003
Posts: 531
Location: USA

PostPosted: Tue Sep 23, 2003 9:54 pm    Post subject: Reply with quote

be sure to also still write the image tags in that txt files 8)

Code:
<img src="your_image.gif">

_________________
This web server is the best !
Back to top View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
lestat
-


Joined: 15 Sep 2003
Posts: 130
Location: GREEN BAY

PostPosted: Tue Sep 23, 2003 10:24 pm    Post subject: Reply with quote

That seems a bit redundant, because Im coding them files like that now.
Back to top View user's profile Send private message AIM Address MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group