It is currently Thu Mar 28, 2024 8:20 am


All times are UTC


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Include file on every page
PostPosted: Wed Jul 02, 2008 2:34 am 
NO! I'm not a flooder!
NO! I'm not a flooder!

Joined: Fri Jan 20, 2006 12:46 am
Posts: 169
Do you know how with 100webspace free accounts display ads/banner on every frame? How do you do that automatically?

I want 2 lines of code to be displayed on every webpage I have without have to edit them all to put the two lines in.

Thanks

_________________
My site: http://reallyfunny.mybesthost.com
My forum: http://reallyfunnyforum.mybesthost.com
Download Free Ringtones

Tell me what you think of my site:
http://forum.100webspace.com/viewtopic.php?t=3846

Help build this up: http://forumworld.mybesthost.com


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 02, 2008 3:35 pm 
Noobie
Noobie

Joined: Sun Aug 05, 2007 7:35 am
Posts: 36
Location: Durban South Africa
I would suggest you use php's "include" for this. Depending on what exactly you want to do, you could probably also use a database for it.

But regardless of how you do it, you will have to make a change to all your pages initially so that they all point to the "include" file. After the initial dirty work is done, all you need to do is to change the file to which the "include" refers to and all the pages update automatically from there.

_________________
I am out of my mind but you can leave a message - I should be back soon.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 03, 2008 11:49 am 
NO! I'm not a flooder!
NO! I'm not a flooder!

Joined: Fri Jan 20, 2006 12:46 am
Posts: 169
but how does 100webspace do it, and other webhosts for that matter. How do you force content on every single page desired? With my site here, i don't add code to my site to display ads, so there must be a way. use .htaccess or something?

_________________
My site: http://reallyfunny.mybesthost.com
My forum: http://reallyfunnyforum.mybesthost.com
Download Free Ringtones

Tell me what you think of my site:
http://forum.100webspace.com/viewtopic.php?t=3846

Help build this up: http://forumworld.mybesthost.com


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 14, 2010 4:40 am 
Noobie
Noobie

Joined: Sun Mar 14, 2010 4:31 am
Posts: 2
I've used .htaccess redirects before. You can also just always make it link to mywebsite/schedual.html and update that page.


Thanbks

_________________
Expedia.ca


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ]  Moderators: fhmagic, KJ, Moderators, Support Team

All times are UTC


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 post attachments in this forum

Search for:
Jump to:  
100WebSpace © 2011