![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
If u touch it, I will cum
Join Date: Sep 2003
Location: long island
Posts: 22,923
|
![]() i wanna put a banner across all of my sites, but i do not want to have to manually place it in each site and have to change it manually each time i change the banner.
is there a basic html solution to this? an include? some .php? someone have a minute to help me out with this |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Carpe Visio
Industry Role:
Join Date: Jul 2002
Location: New York
Posts: 43,064
|
You can use an ad server like phpAdsNew. That might be overkill for one banner, but it's an option.
http://www.phpadsnew.com |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Nov 2003
Location: ThatOneProgram.com
Posts: 9,898
|
If your current pages are in .php already, design your header and call it "header.php". Then include "header.php" in you pages .php code at the top.
This will make each pace with the 'include' in it pull the header.php file and include it. This is a simple explanation, hit me up for more details if you need them! Bill
__________________
Want to promote SUCCUBUS? Click HERE!!!! | Want to buy SUCCUBUS? Click HERE!!!! Yeah, yeah, you know, That One Program! | Want to trade links with StompBunny.com? Loryn (3:16 PM): I love it, just as long as we keep the bedroom door closed from all ears then we can have throw down hard core sex that makes us money haha fuck it we can have sex on money never did that before |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Dec 2003
Location: 1123,6536,5231
Posts: 3,397
|
PHP Code:
include that code on every page you want the banner |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
If u touch it, I will cum
Join Date: Sep 2003
Location: long island
Posts: 22,923
|
hmmmmmmmm
i'm working with just html pages. is there some sort of global include i could use? maybe |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Join Date: Feb 2002
Posts: 720
|
PHP Code:
upload banner to http://www.yourdomain.com/banner.gif Link sites with PHP Code:
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Join Date: Dec 2003
Location: 1123,6536,5231
Posts: 3,397
|
if your host enabled it you may be able to use SSI.
<!-- #include file="included.html" --> |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 | |
Confirmed User
Join Date: Nov 2003
Location: ThatOneProgram.com
Posts: 9,898
|
Quote:
__________________
Want to promote SUCCUBUS? Click HERE!!!! | Want to buy SUCCUBUS? Click HERE!!!! Yeah, yeah, you know, That One Program! | Want to trade links with StompBunny.com? Loryn (3:16 PM): I love it, just as long as we keep the bedroom door closed from all ears then we can have throw down hard core sex that makes us money haha fuck it we can have sex on money never did that before |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 | |
Confirmed User
Join Date: Dec 2003
Location: 1123,6536,5231
Posts: 3,397
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Confirmed User
Join Date: Jun 2004
Posts: 2,049
|
If you want to do it from multiple subfolders though and use SSI, then you should use include=virtual instead of include=file I believe. That way, you could keep the code with the banner in your root folder.
You could get your host to setup a global alias to a folder as well, but I think the SSI include=virtual is easiest. This is all presuming you dont wanna enable parsing of html files for php code, lol. ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
If u touch it, I will cum
Join Date: Sep 2003
Location: long island
Posts: 22,923
|
another question...
some one mentioned to me using iframe across all the sites. your opinions on this? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 |
Confirmed User
Join Date: Sep 2001
Location: Kentucky USA
Posts: 689
|
Install the apache module mod_layout
use and htaccess file to turn it on. create a page with the header and footer information to change the banners over the entire site you just edit the header/footer file |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 |
Confirmed User
Join Date: Jun 2004
Posts: 2,049
|
I dont care for frames at all personally.
I once made a little script that I call from htaccess that parses all html files requested, and if it finds a certain sponsor code, it replaces it, THEN serves it to the browser. But I wouldnt use something like that permanently as it would be alot of work for apache sorta, lol. ![]() I needed to swap too many links when the sponsor tanked. The ultimate motivation to work ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |